#D96FEF#D96FEF

#D96FEF is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.2% C 0.205 H 320.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D96FEF
RGBrgb(217, 111, 239)
HSLhsl(290, 80%, 69%)
HSVhsv(290, 54%, 94%)
CMYKcmyk(9.2%, 53.6%, 0%, 6.3%)
CIE-LABlab(63.63, 60.04, -47.04)
CIE-LCHlch(63.63, 76.28, 321.92°)
OKLaboklab(71.17% 0.1584 -0.1305)
OKLCHoklch(71.17% 0.205 320.5)
XYZxyz(49.8778, 32.3547, 85.2624)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FEF #85EF6F
analogous
#996FEF #D96FEF #EF6FC5
triadic
#D96FEF #EFD96F #6FEFD9
tetradic
#D96FEF #EF996F #85EF6F #6FC5EF
square
#D96FEF #EF996F #85EF6F #6FC5EF
split-complementary
#D96FEF #C5EF6F #6FEF99
monochromatic
#AE17CD #CA38E9 #D96FEF #E8A6F5 #F6DDFB

Accessibility & contrast

On white

2.81
#D96FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D96FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FEF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FEF#FFFFFF#000000##000000
##D96FEF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#DA81A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96fef;
/* rgb */ color: rgb(217, 111, 239);
/* oklch */ color: oklch(71.2% 0.205 320.5);
Tailwind
colors: {
  custom: {
    50: '#e79df5',
    500: '#d96fef',
    950: '#000000',
  },
}
SCSS
$custom: #d96fef;
$custom-light: #e79df5;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fef",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 289.688,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71172,
    "c": 0.20524,
    "h": 320.5
  },
  "luminance": 0.32353
}

Semantic roles & 50–950 ramp

primary
#D96FEF
secondary
#D0F0CA
accent
#DC092D
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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