#D899EA#D899EA

#D899EA is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.2% C 0.131 H 318.6°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#D899EA
RGBrgb(216, 153, 234)
HSLhsl(287, 66%, 76%)
HSVhsv(287, 35%, 92%)
CMYKcmyk(7.7%, 34.6%, 0%, 8.2%)
CIE-LABlab(71.77, 37.21, -31.59)
CIE-LCHlch(71.77, 48.81, 319.66°)
OKLaboklab(77.15% 0.098 -0.0865)
OKLCHoklch(77.15% 0.131 318.6)
XYZxyz(54.5594, 43.3233, 83.3141)
Luminance0.4332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D899EA #ABEA99
analogous
#AF99EA #D899EA #EA99D3
triadic
#D899EA #EAD899 #99EAD8
tetradic
#D899EA #EAAF99 #ABEA99 #99D3EA
square
#D899EA #EAAF99 #ABEA99 #99D3EA
split-complementary
#D899EA #D3EA99 #99EAAF
monochromatic
#B133D5 #C566E0 #D899EA #EBCCF4 #F5E6FA

Accessibility & contrast

On white

2.17
#D899EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#D899EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D899EA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D899EA#FFFFFF#000000##000000
##D899EA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACED
Deuteranopia (green-blind)
#9DB2E7
Tritanopia (blue-blind)
#D9A3B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d899ea;
/* rgb */ color: rgb(216, 153, 234);
/* oklch */ color: oklch(77.2% 0.131 318.6);
Tailwind
colors: {
  custom: {
    50: '#e5b8f1',
    500: '#d899ea',
    950: '#000000',
  },
}
SCSS
$custom: #d899ea;
$custom-light: #e5b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d899ea",
  "rgb": {
    "r": 216,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 286.667,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77153,
    "c": 0.13071,
    "h": 318.6
  },
  "luminance": 0.43322
}

Semantic roles & 50–950 ramp

primary
#D899EA
secondary
#DFF1DA
accent
#CE1840
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D899EA

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

Preview Lab → · Contrast checker → · Palette generator →

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