#D966E5#D966E5

#D966E5 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.5% C 0.209 H 323.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D966E5
RGBrgb(217, 102, 229)
HSLhsl(294, 71%, 65%)
HSVhsv(294, 55%, 90%)
CMYKcmyk(5.2%, 55.5%, 0%, 10.2%)
CIE-LABlab(61.58, 62.41, -44.72)
CIE-LCHlch(61.58, 76.78, 324.37°)
OKLaboklab(69.51% 0.169 -0.1238)
OKLCHoklch(69.51% 0.209 323.8)
XYZxyz(47.5082, 29.9141, 77.3851)
Luminance0.2991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966E5 #72E566
analogous
#9A66E5 #D966E5 #E566B1
triadic
#D966E5 #E5D966 #66E5D9
tetradic
#D966E5 #E59A66 #72E566 #66B1E5
square
#D966E5 #E59A66 #72E566 #66B1E5
split-complementary
#D966E5 #B1E566 #66E59A
monochromatic
#A41EB2 #CC32DC #D966E5 #E69AEE #F3CFF7

Accessibility & contrast

On white

3.01
#D966E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D966E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D966E5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966E5#FFFFFF#000000##000000
##D966E51.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#DD779C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d966e5;
/* rgb */ color: rgb(217, 102, 229);
/* oklch */ color: oklch(69.5% 0.209 323.8);
Tailwind
colors: {
  custom: {
    50: '#e797ed',
    500: '#d966e5',
    950: '#000000',
  },
}
SCSS
$custom: #d966e5;
$custom-light: #e797ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d966e5",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 294.331,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69508,
    "c": 0.20944,
    "h": 323.8
  },
  "luminance": 0.29912
}

Semantic roles & 50–950 ramp

primary
#D966E5
secondary
#C2E9BE
accent
#D31325
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D966E5

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

Preview Lab → · Contrast checker → · Palette generator →

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