#D96EFB#D96EFB

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

Color values

HEX#D96EFB
RGBrgb(217, 110, 251)
HSLhsl(286, 95%, 71%)
HSVhsv(286, 56%, 98%)
CMYKcmyk(13.5%, 56.2%, 0%, 1.6%)
CIE-LABlab(64.06, 62.82, -53.00)
CIE-LCHlch(64.06, 82.19, 319.85°)
OKLaboklab(71.68% 0.1605 -0.1478)
OKLCHoklch(71.68% 0.218 317.4)
XYZxyz(51.6013, 32.8705, 94.8746)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EFB #90FB6E
analogous
#926EFB #D96EFB #FB6ED6
triadic
#D96EFB #FBD96E #6EFBD9
tetradic
#D96EFB #FB926E #90FB6E #6ED6FB
square
#D96EFB #FB926E #90FB6E #6ED6FB
split-complementary
#D96EFB #D6FB6E #6EFB92
monochromatic
#B206E8 #C932F9 #D96EFB #E9AAFD #F7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D96EFB#FFFFFF#000000##000000
##D96EFB1.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)
#4C94FF
Deuteranopia (green-blind)
#729FF7
Tritanopia (blue-blind)
#D885AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96efb;
/* rgb */ color: rgb(217, 110, 251);
/* oklch */ color: oklch(71.7% 0.218 317.4);
Tailwind
colors: {
  custom: {
    50: '#e89cfd',
    500: '#d96efb',
    950: '#000000',
  },
}
SCSS
$custom: #d96efb;
$custom-light: #e89cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d96efb",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 285.532,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71675,
    "c": 0.21823,
    "h": 317.4
  },
  "luminance": 0.32869
}

Semantic roles & 50–950 ramp

primary
#D96EFB
secondary
#D9F5CF
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D96EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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