#D966EA#D966EA

#D966EA is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.214 H 322.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D966EA
RGBrgb(217, 102, 234)
HSLhsl(292, 76%, 66%)
HSVhsv(292, 56%, 92%)
CMYKcmyk(7.3%, 56.4%, 0%, 8.2%)
CIE-LABlab(61.82, 63.32, -47.13)
CIE-LCHlch(61.82, 78.93, 323.34°)
OKLaboklab(69.77% 0.1694 -0.1307)
OKLCHoklch(69.77% 0.214 322.3)
XYZxyz(48.2164, 30.1973, 81.1149)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966EA #77EA66
analogous
#9766EA #D966EA #EA66B9
triadic
#D966EA #EAD966 #66EAD9
tetradic
#D966EA #EA9766 #77EA66 #66B9EA
square
#D966EA #EA9766 #77EA66 #66B9EA
split-complementary
#D966EA #B9EA66 #66EA97
monochromatic
#A71ABC #CC30E3 #D966EA #E69CF1 #F4D2F9

Accessibility & contrast

On white

2.98
#D966EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#D966EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D966EA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966EA#FFFFFF#000000##000000
##D966EA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#769AE6
Tritanopia (blue-blind)
#DC799F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d966ea;
/* rgb */ color: rgb(217, 102, 234);
/* oklch */ color: oklch(69.8% 0.214 322.3);
Tailwind
colors: {
  custom: {
    50: '#e897f1',
    500: '#d966ea',
    950: '#000000',
  },
}
SCSS
$custom: #d966ea;
$custom-light: #e897f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d966ea",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 292.273,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69766,
    "c": 0.21395,
    "h": 322.3
  },
  "luminance": 0.30195
}

Semantic roles & 50–950 ramp

primary
#D966EA
secondary
#C6ECC0
accent
#D80D28
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D966EA

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

Preview Lab → · Contrast checker → · Palette generator →

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