#D96DFD

A color in the Purple, Crimson, Magenta family

#d96dfd is a color in the Purple, Crimson, Magenta family: RGB(217, 109, 253), HSL(285°, 97%, 71%), CMYK(14%, 57%, 0%, 1%). Closest named color: orchid. Contrast is 2.78:1 on white and 7.56:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d96dfd
RGBrgb(217 109 253)
RGB (legacy)rgb(217, 109, 253)
RGB %rgb(85% 43% 99%)
HSLhsl(285 97% 71%)
HSV / HSBhsv(285, 57%, 99%)
HWBhwb(285 43% 1%)
CMYKcmyk(14%, 57%, 0%, 1%)
CIELAB (D50)lab(63.64 58.97 -54.34)
LCHlch(63.64 80.19 317.34)
OKLaboklab(0.7166 0.1618 -0.1514)
OKLCHoklch(0.7166 0.2216 316.91)
Decimal14249469

Properties

Color TonePurple, Crimson, Magenta
Closest named colororchid ΔE 5.9
Closest web-safe color#cc66ff
Hue285°
Saturation (HSL / HSV)97% / 57%
Lightness (HSL)71%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)62% / 56%
Relative luminance (WCAG)0.3278
Red / Green / Blue217 / 109 / 253

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 53 / -48.8 · As background with white / black text: Lc -58.3 / 51

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: #d96dfd;
  --color-brand-oklch: oklch(71.66% 0.2216 316.91);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(217 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d96dfd] text-[#d96dfd] border-[#d96dfd]">