#D96CEB#D96CEB

#D96CEB is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.6% C 0.206 H 321.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D96CEB
RGBrgb(217, 108, 235)
HSLhsl(291, 76%, 67%)
HSVhsv(291, 54%, 92%)
CMYKcmyk(7.7%, 54%, 0%, 7.8%)
CIE-LABlab(62.91, 60.72, -45.97)
CIE-LCHlch(62.91, 76.16, 322.87°)
OKLaboklab(70.58% 0.1619 -0.1274)
OKLCHoklch(70.58% 0.206 321.8)
XYZxyz(48.9716, 31.4773, 82.0773)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CEB #7EEB6C
analogous
#9A6CEB #D96CEB #EB6CBE
triadic
#D96CEB #EBD96C #6CEBD9
tetradic
#D96CEB #EB9A6C #7EEB6C #6CBEEB
square
#D96CEB #EB9A6C #7EEB6C #6CBEEB
split-complementary
#D96CEB #BEEB6C #6CEB9A
monochromatic
#AA1AC2 #CB36E4 #D96CEB #E7A2F2 #F5D8FA

Accessibility & contrast

On white

2.88
#D96CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D96CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CEB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CEB#FFFFFF#000000##000000
##D96CEB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#7A9CE8
Tritanopia (blue-blind)
#DB7EA2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96ceb;
/* rgb */ color: rgb(217, 108, 235);
/* oklch */ color: oklch(70.6% 0.206 321.8);
Tailwind
colors: {
  custom: {
    50: '#e79bf2',
    500: '#d96ceb',
    950: '#000000',
  },
}
SCSS
$custom: #d96ceb;
$custom-light: #e79bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ceb",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 291.496,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70576,
    "c": 0.206,
    "h": 321.8
  },
  "luminance": 0.31475
}

Semantic roles & 50–950 ramp

primary
#D96CEB
secondary
#CBEDC5
accent
#D80D2A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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