#D96AF6#D96AF6

#D96AF6 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.9% C 0.219 H 318.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D96AF6
RGBrgb(217, 106, 246)
HSLhsl(288, 89%, 69%)
HSVhsv(288, 57%, 96%)
CMYKcmyk(11.8%, 56.9%, 0%, 3.5%)
CIE-LABlab(63.11, 63.73, -51.75)
CIE-LCHlch(63.11, 82.09, 320.92°)
OKLaboklab(70.9% 0.1652 -0.1442)
OKLCHoklch(70.9% 0.219 318.9)
XYZxyz(50.4017, 31.7157, 90.6377)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AF6 #87F66A
analogous
#936AF6 #D96AF6 #F66ACD
triadic
#D96AF6 #F6D96A #6AF6D9
tetradic
#D96AF6 #F6936A #87F66A #6ACDF6
square
#D96AF6 #F6936A #87F66A #6ACDF6
split-complementary
#D96AF6 #CDF66A #6AF693
monochromatic
#AE0DD9 #CA30F3 #D96AF6 #E8A4F9 #F6DDFD

Accessibility & contrast

On white

2.86
#D96AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D96AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AF6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AF6#FFFFFF#000000##000000
##D96AF61.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#729DF2
Tritanopia (blue-blind)
#D980A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96af6;
/* rgb */ color: rgb(217, 106, 246);
/* oklch */ color: oklch(70.9% 0.219 318.9);
Tailwind
colors: {
  custom: {
    50: '#e89afa',
    500: '#d96af6',
    950: '#000000',
  },
}
SCSS
$custom: #d96af6;
$custom-light: #e89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96af6",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 287.571,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70899,
    "c": 0.21927,
    "h": 318.9
  },
  "luminance": 0.31714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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