#D96EF7#D96EF7

#D96EF7 is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.5% C 0.214 H 318.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D96EF7
RGBrgb(217, 110, 247)
HSLhsl(287, 90%, 70%)
HSVhsv(287, 55%, 97%)
CMYKcmyk(12.1%, 55.5%, 0%, 3.1%)
CIE-LABlab(63.85, 62.05, -51.12)
CIE-LCHlch(63.85, 80.39, 320.52°)
OKLaboklab(71.46% 0.1603 -0.1424)
OKLCHoklch(71.46% 0.214 318.4)
XYZxyz(50.9774, 32.6210, 91.5889)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EF7 #8CF76E
analogous
#946EF7 #D96EF7 #F76ED1
triadic
#D96EF7 #F7D96E #6EF7D9
tetradic
#D96EF7 #F7946E #8CF76E #6ED1F7
square
#D96EF7 #F7946E #8CF76E #6ED1F7
split-complementary
#D96EF7 #D1F76E #6EF794
monochromatic
#B00CDE #CA34F4 #D96EF7 #E8A8FA #F7E2FD

Accessibility & contrast

On white

2.79
#D96EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D96EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EF7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EF7#FFFFFF#000000##000000
##D96EF71.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#D983A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96ef7;
/* rgb */ color: rgb(217, 110, 247);
/* oklch */ color: oklch(71.5% 0.214 318.4);
Tailwind
colors: {
  custom: {
    50: '#e89cfa',
    500: '#d96ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d96ef7;
$custom-light: #e89cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ef7",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 286.861,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.71461,
    "c": 0.21438,
    "h": 318.4
  },
  "luminance": 0.32619
}

Semantic roles & 50–950 ramp

primary
#D96EF7
secondary
#D6F4CD
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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