#D96DF7#D96DF7

#D96DF7 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.3% C 0.216 H 318.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D96DF7
RGBrgb(217, 109, 247)
HSLhsl(287, 90%, 70%)
HSVhsv(287, 56%, 97%)
CMYKcmyk(12.1%, 55.9%, 0%, 3.1%)
CIE-LABlab(63.68, 62.52, -51.40)
CIE-LCHlch(63.68, 80.93, 320.58°)
OKLaboklab(71.33% 0.1615 -0.1432)
OKLCHoklch(71.33% 0.216 318.4)
XYZxyz(50.8701, 32.4064, 91.5531)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DF7 #8BF76D
analogous
#946DF7 #D96DF7 #F76DD0
triadic
#D96DF7 #F7D96D #6DF7D9
tetradic
#D96DF7 #F7946D #8BF76D #6DD0F7
square
#D96DF7 #F7946D #8BF76D #6DD0F7
split-complementary
#D96DF7 #D0F76D #6DF794
monochromatic
#B00CDD #CA33F4 #D96DF7 #E8A7FA #F7E1FD

Accessibility & contrast

On white

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

On black

7.48
#D96DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DF7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DF7#FFFFFF#000000##000000
##D96DF71.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#D983A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96df7;
/* rgb */ color: rgb(217, 109, 247);
/* oklch */ color: oklch(71.3% 0.216 318.4);
Tailwind
colors: {
  custom: {
    50: '#e89bfa',
    500: '#d96df7',
    950: '#000000',
  },
}
SCSS
$custom: #d96df7;
$custom-light: #e89bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96df7",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 286.957,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71332,
    "c": 0.21585,
    "h": 318.4
  },
  "luminance": 0.32404
}

Semantic roles & 50–950 ramp

primary
#D96DF7
secondary
#D5F3CC
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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