#D966E2#D966E2

#D966E2 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.4% C 0.207 H 324.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D966E2
RGBrgb(217, 102, 226)
HSLhsl(296, 68%, 64%)
HSVhsv(296, 55%, 89%)
CMYKcmyk(4%, 54.9%, 0%, 11.4%)
CIE-LABlab(61.44, 61.87, -43.27)
CIE-LCHlch(61.44, 75.50, 325.03°)
OKLaboklab(69.36% 0.1687 -0.1196)
OKLCHoklch(69.36% 0.207 324.7)
XYZxyz(47.0930, 29.7480, 75.1982)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966E2 #6FE266
analogous
#9B66E2 #D966E2 #E266AD
triadic
#D966E2 #E2D966 #66E2D9
tetradic
#D966E2 #E29B66 #6FE266 #66ADE2
square
#D966E2 #E29B66 #6FE266 #66ADE2
split-complementary
#D966E2 #ADE266 #66E29B
monochromatic
#A321AD #CC33D8 #D966E2 #E699EC #F3CDF6

Accessibility & contrast

On white

3.02
#D966E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D966E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D966E2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966E2#FFFFFF#000000##000000
##D966E21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#7A99DF
Tritanopia (blue-blind)
#DD769B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d966e2;
/* rgb */ color: rgb(217, 102, 226);
/* oklch */ color: oklch(69.4% 0.207 324.7);
Tailwind
colors: {
  custom: {
    50: '#e797eb',
    500: '#d966e2',
    950: '#000000',
  },
}
SCSS
$custom: #d966e2;
$custom-light: #e797eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d966e2",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 295.645,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69356,
    "c": 0.20676,
    "h": 324.7
  },
  "luminance": 0.29745
}

Semantic roles & 50–950 ramp

primary
#D966E2
secondary
#C0E7BC
accent
#D01523
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D966E2

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

Preview Lab → · Contrast checker → · Palette generator →

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