#D96BF6#D96BF6

#D96BF6 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.0% C 0.218 H 318.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D96BF6
RGBrgb(217, 107, 246)
HSLhsl(287, 89%, 69%)
HSVhsv(287, 57%, 96%)
CMYKcmyk(11.8%, 56.5%, 0%, 3.5%)
CIE-LABlab(63.28, 63.26, -51.48)
CIE-LCHlch(63.28, 81.56, 320.87°)
OKLaboklab(71.03% 0.164 -0.1434)
OKLCHoklch(71.03% 0.218 318.8)
XYZxyz(50.5053, 31.9230, 90.6723)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BF6 #88F66B
analogous
#946BF6 #D96BF6 #F66BCE
triadic
#D96BF6 #F6D96B #6BF6D9
tetradic
#D96BF6 #F6946B #88F66B #6BCEF6
square
#D96BF6 #F6946B #88F66B #6BCEF6
split-complementary
#D96BF6 #CEF66B #6BF694
monochromatic
#AF0DD9 #CA31F2 #D96BF6 #E8A5FA #F7DEFD

Accessibility & contrast

On white

2.84
#D96BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#D96BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BF6
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BF6#FFFFFF#000000##000000
##D96BF61.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FA
Deuteranopia (green-blind)
#739DF2
Tritanopia (blue-blind)
#D981A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96bf6;
/* rgb */ color: rgb(217, 107, 246);
/* oklch */ color: oklch(71.0% 0.218 318.8);
Tailwind
colors: {
  custom: {
    50: '#e89afa',
    500: '#d96bf6',
    950: '#000000',
  },
}
SCSS
$custom: #d96bf6;
$custom-light: #e89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bf6",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 287.482,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71025,
    "c": 0.21781,
    "h": 318.8
  },
  "luminance": 0.31921
}

Semantic roles & 50–950 ramp

primary
#D96BF6
secondary
#D3F3CA
accent
#E50030
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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