#D896EA#D896EA

#D896EA is a light, vivid purple. Relative luminance 0.424; OKLCH L 76.7% C 0.136 H 318.9°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#D896EA
RGBrgb(216, 150, 234)
HSLhsl(287, 67%, 75%)
HSVhsv(287, 36%, 92%)
CMYKcmyk(7.7%, 35.9%, 0%, 8.2%)
CIE-LABlab(71.11, 38.81, -32.61)
CIE-LCHlch(71.11, 50.70, 319.96°)
OKLaboklab(76.65% 0.1024 -0.0894)
OKLCHoklch(76.65% 0.136 318.9)
XYZxyz(54.0745, 42.3536, 83.1525)
Luminance0.4235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896EA #A8EA96
analogous
#AE96EA #D896EA #EA96D2
triadic
#D896EA #EAD896 #96EAD8
tetradic
#D896EA #EAAE96 #A8EA96 #96D2EA
square
#D896EA #EAAE96 #A8EA96 #96D2EA
split-complementary
#D896EA #D2EA96 #96EAAE
monochromatic
#B230D6 #C563E0 #D896EA #EBC9F4 #F6E5FA

Accessibility & contrast

On white

2.22
#D896EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#D896EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896EA
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896EA#FFFFFF#000000##000000
##D896EA1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d896ea;
/* rgb */ color: rgb(216, 150, 234);
/* oklch */ color: oklch(76.7% 0.136 318.9);
Tailwind
colors: {
  custom: {
    50: '#e5b6f1',
    500: '#d896ea',
    950: '#000000',
  },
}
SCSS
$custom: #d896ea;
$custom-light: #e5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d896ea",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 287.143,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76654,
    "c": 0.13588,
    "h": 318.9
  },
  "luminance": 0.42352
}

Semantic roles & 50–950 ramp

primary
#D896EA
secondary
#DFF1DA
accent
#CF173E
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D896EA

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

Preview Lab → · Contrast checker → · Palette generator →

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