#D96DF8#D96DF8

#D96DF8 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.4% C 0.217 H 318.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D96DF8
RGBrgb(217, 109, 248)
HSLhsl(287, 91%, 70%)
HSVhsv(287, 56%, 97%)
CMYKcmyk(12.5%, 56%, 0%, 2.7%)
CIE-LABlab(63.73, 62.71, -51.87)
CIE-LCHlch(63.73, 81.38, 320.41°)
OKLaboklab(71.39% 0.1616 -0.1446)
OKLCHoklch(71.39% 0.217 318.2)
XYZxyz(51.0249, 32.4683, 92.3680)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DF8 #8CF86D
analogous
#946DF8 #D96DF8 #F86DD1
triadic
#D96DF8 #F8D96D #6DF8D9
tetradic
#D96DF8 #F8946D #8CF86D #6DD1F8
square
#D96DF8 #F8946D #8CF86D #6DD1F8
split-complementary
#D96DF8 #D1F86D #6DF894
monochromatic
#B00BE0 #CA33F5 #D96DF8 #E8A7FB #F7E2FE

Accessibility & contrast

On white

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

On black

7.49
#D96DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DF8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DF8#FFFFFF#000000##000000
##D96DF81.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#739EF4
Tritanopia (blue-blind)
#D983A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96df8;
/* rgb */ color: rgb(217, 109, 248);
/* oklch */ color: oklch(71.4% 0.217 318.2);
Tailwind
colors: {
  custom: {
    50: '#e89bfb',
    500: '#d96df8',
    950: '#000000',
  },
}
SCSS
$custom: #d96df8;
$custom-light: #e89bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96df8",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 286.619,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.71386,
    "c": 0.2168,
    "h": 318.2
  },
  "luminance": 0.32466
}

Semantic roles & 50–950 ramp

primary
#D96DF8
secondary
#D6F4CD
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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