#D996EB#D996EB

#D996EB is a light, vivid purple. Relative luminance 0.426; OKLCH L 76.8% C 0.138 H 319.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#D996EB
RGBrgb(217, 150, 235)
HSLhsl(287, 68%, 75%)
HSVhsv(287, 36%, 92%)
CMYKcmyk(7.7%, 36.2%, 0%, 7.8%)
CIE-LABlab(71.26, 39.32, -32.93)
CIE-LCHlch(71.26, 51.28, 320.05°)
OKLaboklab(76.8% 0.1037 -0.0903)
OKLCHoklch(76.8% 0.138 319)
XYZxyz(54.5150, 42.5641, 83.9251)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D996EB #A8EB96
analogous
#AE96EB #D996EB #EB96D2
triadic
#D996EB #EBD996 #96EBD9
tetradic
#D996EB #EBAE96 #A8EB96 #96D2EB
square
#D996EB #EBAE96 #A8EB96 #96D2EB
split-complementary
#D996EB #D2EB96 #96EBAE
monochromatic
#B42FD7 #C663E1 #D996EB #ECC9F5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.51
#D996EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D996EB
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D996EB#FFFFFF#000000##000000
##D996EB1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEE
Deuteranopia (green-blind)
#9BB1E8
Tritanopia (blue-blind)
#DAA0B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d996eb;
/* rgb */ color: rgb(217, 150, 235);
/* oklch */ color: oklch(76.8% 0.138 319.0);
Tailwind
colors: {
  custom: {
    50: '#e6b6f1',
    500: '#d996eb',
    950: '#000000',
  },
}
SCSS
$custom: #d996eb;
$custom-light: #e6b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d996eb",
  "rgb": {
    "r": 217,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 287.294,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76799,
    "c": 0.1375,
    "h": 319
  },
  "luminance": 0.42563
}

Semantic roles & 50–950 ramp

primary
#D996EB
secondary
#DFF2D9
accent
#D0163D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D996EB

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

Preview Lab → · Contrast checker → · Palette generator →

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