#D96DFB#D96DFB

#D96DFB is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.5% C 0.220 H 317.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D96DFB
RGBrgb(217, 109, 251)
HSLhsl(286, 95%, 71%)
HSVhsv(286, 57%, 98%)
CMYKcmyk(13.5%, 56.6%, 0%, 1.6%)
CIE-LABlab(63.88, 63.29, -53.28)
CIE-LCHlch(63.88, 82.73, 319.91°)
OKLaboklab(71.55% 0.1618 -0.1486)
OKLCHoklch(71.55% 0.22 317.4)
XYZxyz(51.4940, 32.6559, 94.8388)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DFB #8FFB6D
analogous
#926DFB #D96DFB #FB6DD6
triadic
#D96DFB #FBD96D #6DFBD9
tetradic
#D96DFB #FB926D #8FFB6D #6DD6FB
square
#D96DFB #FB926D #8FFB6D #6DD6FB
split-complementary
#D96DFB #D6FB6D #6DFB92
monochromatic
#B106E7 #C931F9 #D96DFB #E9A9FD #F7E1FE

Accessibility & contrast

On white

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

On black

7.53
#D96DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DFB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DFB#FFFFFF#000000##000000
##D96DFB1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#D884AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96dfb;
/* rgb */ color: rgb(217, 109, 251);
/* oklch */ color: oklch(71.5% 0.220 317.4);
Tailwind
colors: {
  custom: {
    50: '#e89cfd',
    500: '#d96dfb',
    950: '#000000',
  },
}
SCSS
$custom: #d96dfb;
$custom-light: #e89cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d96dfb",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 285.634,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71548,
    "c": 0.21968,
    "h": 317.4
  },
  "luminance": 0.32654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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