#D96DFE#D96DFE

#D96DFE is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.7% C 0.223 H 316.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D96DFE
RGBrgb(217, 109, 254)
HSLhsl(285, 99%, 71%)
HSVhsv(285, 57%, 100%)
CMYKcmyk(14.6%, 57.1%, 0%, 0.4%)
CIE-LABlab(64.04, 63.88, -54.68)
CIE-LCHlch(64.04, 84.08, 319.44°)
OKLaboklab(71.71% 0.1619 -0.1527)
OKLCHoklch(71.71% 0.223 316.7)
XYZxyz(51.9707, 32.8466, 97.3491)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DFE #92FE6D
analogous
#906DFE #D96DFE #FE6DDA
triadic
#D96DFE #FED96D #6DFED9
tetradic
#D96DFE #FE906D #92FE6D #6DDAFE
square
#D96DFE #FE906D #92FE6D #6DDAFE
split-complementary
#D96DFE #DAFE6D #6DFE90
monochromatic
#B202EF #C930FE #D96DFE #E9AAFE #F7E1FF

Accessibility & contrast

On white

2.77
#D96DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D96DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DFE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DFE#FFFFFF#000000##000000
##D96DFE1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#709EFA
Tritanopia (blue-blind)
#D785AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96dfe;
/* rgb */ color: rgb(217, 109, 254);
/* oklch */ color: oklch(71.7% 0.223 316.7);
Tailwind
colors: {
  custom: {
    50: '#e89cff',
    500: '#d96dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d96dfe;
$custom-light: #e89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96dfe",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 284.69,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.22257,
    "h": 316.7
  },
  "luminance": 0.32845
}

Semantic roles & 50–950 ramp

primary
#D96DFE
secondary
#DAF6D0
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D96DFE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D96DFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva