#D966EE#D966EE

#D966EE is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.0% C 0.218 H 321.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D966EE
RGBrgb(217, 102, 238)
HSLhsl(291, 80%, 67%)
HSVhsv(291, 57%, 93%)
CMYKcmyk(8.8%, 57.1%, 0%, 6.7%)
CIE-LABlab(62.02, 64.06, -49.03)
CIE-LCHlch(62.02, 80.67, 322.57°)
OKLaboklab(69.98% 0.1697 -0.1363)
OKLCHoklch(69.98% 0.218 321.2)
XYZxyz(48.7975, 30.4298, 84.1755)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D966EE #7BEE66
analogous
#9566EE #D966EE #EE66BF
triadic
#D966EE #EED966 #66EED9
tetradic
#D966EE #EE9566 #7BEE66 #66BFEE
square
#D966EE #EE9566 #7BEE66 #66BFEE
split-complementary
#D966EE #BFEE66 #66EE95
monochromatic
#A916C4 #CB2FE8 #D966EE #E79DF4 #F4D4FA

Accessibility & contrast

On white

2.96
#D966EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D966EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D966EE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D966EE#FFFFFF#000000##000000
##D966EE1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#DB7AA1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d966ee;
/* rgb */ color: rgb(217, 102, 238);
/* oklch */ color: oklch(70.0% 0.218 321.2);
Tailwind
colors: {
  custom: {
    50: '#e897f4',
    500: '#d966ee',
    950: '#000000',
  },
}
SCSS
$custom: #d966ee;
$custom-light: #e897f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d966ee",
  "rgb": {
    "r": 217,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 290.735,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69976,
    "c": 0.2176,
    "h": 321.2
  },
  "luminance": 0.30428
}

Semantic roles & 50–950 ramp

primary
#D966EE
secondary
#C9EEC2
accent
#DC092A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D966EE

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

Preview Lab → · Contrast checker → · Palette generator →

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