#D96AEB#D96AEB

#D96AEB is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.3% C 0.209 H 321.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D96AEB
RGBrgb(217, 106, 235)
HSLhsl(292, 76%, 67%)
HSVhsv(292, 55%, 92%)
CMYKcmyk(7.7%, 54.9%, 0%, 7.8%)
CIE-LABlab(62.56, 61.66, -46.52)
CIE-LCHlch(62.56, 77.24, 322.96°)
OKLaboklab(70.32% 0.1644 -0.129)
OKLCHoklch(70.32% 0.209 321.9)
XYZxyz(48.7631, 31.0602, 82.0078)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AEB #7CEB6A
analogous
#996AEB #D96AEB #EB6ABD
triadic
#D96AEB #EBD96A #6AEBD9
tetradic
#D96AEB #EB996A #7CEB6A #6ABDEB
square
#D96AEB #EB996A #7CEB6A #6ABDEB
split-complementary
#D96AEB #BDEB6A #6AEB99
monochromatic
#A91AC1 #CB34E4 #D96AEB #E7A0F2 #F5D6F9

Accessibility & contrast

On white

2.91
#D96AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D96AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AEB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AEB#FFFFFF#000000##000000
##D96AEB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#DB7CA1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96aeb;
/* rgb */ color: rgb(217, 106, 235);
/* oklch */ color: oklch(70.3% 0.209 321.9);
Tailwind
colors: {
  custom: {
    50: '#e799f2',
    500: '#d96aeb',
    950: '#000000',
  },
}
SCSS
$custom: #d96aeb;
$custom-light: #e799f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d96aeb",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 291.628,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70319,
    "c": 0.20898,
    "h": 321.9
  },
  "luminance": 0.31058
}

Semantic roles & 50–950 ramp

primary
#D96AEB
secondary
#CAEDC4
accent
#D90D29
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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