#BD5DFD

A color in the Purple, Crimson, Magenta family

#bd5dfd is a color in the Purple, Crimson, Magenta family: RGB(189, 93, 253), HSL(276°, 98%, 68%), CMYK(25%, 63%, 0%, 1%). Closest named color: mediumorchid. Contrast is 3.42:1 on white and 6.15:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#bd5dfd
RGBrgb(189 93 253)
RGB (legacy)rgb(189, 93, 253)
RGB %rgb(74% 36% 99%)
HSLhsl(276 98% 68%)
HSV / HSBhsv(276, 63%, 99%)
HWBhwb(276 36% 1%)
CMYKcmyk(25%, 63%, 0%, 1%)
CIELAB (D50)lab(57.2 58.82 -64.84)
LCHlch(57.2 87.55 312.21)
OKLaboklab(0.6642 0.1471 -0.1816)
OKLCHoklch(0.6642 0.2337 309)
Decimal12410365

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.3
Closest web-safe color#cc66ff
Hue276°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)55% / 49%
Relative luminance (WCAG)0.2574
Red / Green / Blue189 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 61 / -40.7 · As background with white / black text: Lc -66.5 / 43.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #bd5dfd;
  --color-brand-oklch: oklch(66.42% 0.2337 309);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(189 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bd5dfd] text-[#bd5dfd] border-[#bd5dfd]">