#D996EA#D996EA

#D996EA is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.8% C 0.136 H 319.3°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#D996EA
RGBrgb(217, 150, 234)
HSLhsl(288, 67%, 75%)
HSVhsv(288, 36%, 92%)
CMYKcmyk(7.3%, 35.9%, 0%, 8.2%)
CIE-LABlab(71.22, 39.12, -32.44)
CIE-LCHlch(71.22, 50.82, 320.33°)
OKLaboklab(76.76% 0.1035 -0.0889)
OKLCHoklch(76.76% 0.136 319.3)
XYZxyz(54.3709, 42.5065, 83.1664)
Luminance0.4250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D996EA #A7EA96
analogous
#AF96EA #D996EA #EA96D1
triadic
#D996EA #EAD996 #96EAD9
tetradic
#D996EA #EAAF96 #A7EA96 #96D1EA
square
#D996EA #EAAF96 #A7EA96 #96D1EA
split-complementary
#D996EA #D1EA96 #96EAAF
monochromatic
#B430D6 #C763E0 #D996EA #EBC9F4 #F6E5FA

Accessibility & contrast

On white

2.21
#D996EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#D996EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D996EA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D996EA#FFFFFF#000000##000000
##D996EA1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAED
Deuteranopia (green-blind)
#9BB1E7
Tritanopia (blue-blind)
#DAA0B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d996ea;
/* rgb */ color: rgb(217, 150, 234);
/* oklch */ color: oklch(76.8% 0.136 319.3);
Tailwind
colors: {
  custom: {
    50: '#e6b6f1',
    500: '#d996ea',
    950: '#000000',
  },
}
SCSS
$custom: #d996ea;
$custom-light: #e6b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d996ea",
  "rgb": {
    "r": 217,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 287.857,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76757,
    "c": 0.13642,
    "h": 319.3
  },
  "luminance": 0.42505
}

Semantic roles & 50–950 ramp

primary
#D996EA
secondary
#DEF1DA
accent
#CF173C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D996EA

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

Preview Lab → · Contrast checker → · Palette generator →

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