#D96CEF#D96CEF

#D96CEF is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.8% C 0.210 H 320.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D96CEF
RGBrgb(217, 108, 239)
HSLhsl(290, 80%, 68%)
HSVhsv(290, 55%, 94%)
CMYKcmyk(9.2%, 54.8%, 0%, 6.3%)
CIE-LABlab(63.10, 61.47, -47.88)
CIE-LCHlch(63.10, 77.92, 322.08°)
OKLaboklab(70.78% 0.1622 -0.133)
OKLCHoklch(70.78% 0.21 320.7)
XYZxyz(49.5560, 31.7110, 85.1551)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CEF #82EF6C
analogous
#986CEF #D96CEF #EF6CC3
triadic
#D96CEF #EFD96C #6CEFD9
tetradic
#D96CEF #EF986C #82EF6C #6CC3EF
square
#D96CEF #EF986C #82EF6C #6CC3EF
split-complementary
#D96CEF #C3EF6C #6CEF98
monochromatic
#AC16CB #CB35E9 #D96CEF #E7A3F5 #F6DAFB

Accessibility & contrast

On white

2.86
#D96CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D96CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CEF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CEF#FFFFFF#000000##000000
##D96CEF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#DB7FA4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96cef;
/* rgb */ color: rgb(217, 108, 239);
/* oklch */ color: oklch(70.8% 0.210 320.7);
Tailwind
colors: {
  custom: {
    50: '#e79bf5',
    500: '#d96cef',
    950: '#000000',
  },
}
SCSS
$custom: #d96cef;
$custom-light: #e79bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cef",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 289.924,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70782,
    "c": 0.20975,
    "h": 320.7
  },
  "luminance": 0.31709
}

Semantic roles & 50–950 ramp

primary
#D96CEF
secondary
#CEEFC7
accent
#DD092C
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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