#D996EE#D996EE

#D996EE is a light, vivid purple. Relative luminance 0.427; OKLCH L 76.9% C 0.141 H 317.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#D996EE
RGBrgb(217, 150, 238)
HSLhsl(286, 72%, 76%)
HSVhsv(286, 37%, 93%)
CMYKcmyk(8.8%, 37%, 0%, 6.7%)
CIE-LABlab(71.38, 39.91, -34.39)
CIE-LCHlch(71.38, 52.68, 319.25°)
OKLaboklab(76.93% 0.1044 -0.0944)
OKLCHoklch(76.93% 0.141 317.9)
XYZxyz(54.9521, 42.7389, 86.2270)
Luminance0.4274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D996EE #ABEE96
analogous
#AD96EE #D996EE #EE96D7
triadic
#D996EE #EED996 #96EED9
tetradic
#D996EE #EEAD96 #ABEE96 #96D7EE
square
#D996EE #EEAD96 #ABEE96 #96D7EE
split-complementary
#D996EE #D7EE96 #96EEAD
monochromatic
#B32DDD #C661E5 #D996EE #ECCBF7 #F5E5FB

Accessibility & contrast

On white

2.20
#D996EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#D996EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D996EE
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D996EE#FFFFFF#000000##000000
##D996EE1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF1
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#D9A1B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d996ee;
/* rgb */ color: rgb(217, 150, 238);
/* oklch */ color: oklch(76.9% 0.141 317.9);
Tailwind
colors: {
  custom: {
    50: '#e6b6f4',
    500: '#d996ee',
    950: '#000000',
  },
}
SCSS
$custom: #d996ee;
$custom-light: #e6b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d996ee",
  "rgb": {
    "r": 217,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 285.682,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76929,
    "c": 0.14075,
    "h": 317.9
  },
  "luminance": 0.42737
}

Semantic roles & 50–950 ramp

primary
#D996EE
secondary
#DFF2D9
accent
#D41140
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D996EE

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

Preview Lab → · Contrast checker → · Palette generator →

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