#D96EF6#D96EF6

#D96EF6 is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.4% C 0.213 H 318.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D96EF6
RGBrgb(217, 110, 246)
HSLhsl(287, 88%, 70%)
HSVhsv(287, 55%, 96%)
CMYKcmyk(11.8%, 55.3%, 0%, 3.5%)
CIE-LABlab(63.80, 61.85, -50.65)
CIE-LCHlch(63.80, 79.94, 320.69°)
OKLaboklab(71.41% 0.1602 -0.141)
OKLCHoklch(71.41% 0.213 318.6)
XYZxyz(50.8235, 32.5594, 90.7783)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EF6 #8BF66E
analogous
#956EF6 #D96EF6 #F66ECF
triadic
#D96EF6 #F6D96E #6EF6D9
tetradic
#D96EF6 #F6956E #8BF66E #6ECFF6
square
#D96EF6 #F6956E #8BF66E #6ECFF6
split-complementary
#D96EF6 #CFF66E #6EF695
monochromatic
#B00EDC #CA34F2 #D96EF6 #E8A8FA #F7E1FD

Accessibility & contrast

On white

2.80
#D96EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D96EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EF6
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EF6#FFFFFF#000000##000000
##D96EF61.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#759EF2
Tritanopia (blue-blind)
#D983A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96ef6;
/* rgb */ color: rgb(217, 110, 246);
/* oklch */ color: oklch(71.4% 0.213 318.6);
Tailwind
colors: {
  custom: {
    50: '#e79cfa',
    500: '#d96ef6',
    950: '#000000',
  },
}
SCSS
$custom: #d96ef6;
$custom-light: #e79cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ef6",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 287.206,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71408,
    "c": 0.21342,
    "h": 318.6
  },
  "luminance": 0.32557
}

Semantic roles & 50–950 ramp

primary
#D96EF6
secondary
#D5F3CD
accent
#E50131
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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