#D899EF#D899EF

#D899EF is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.4% C 0.136 H 316.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#D899EF
RGBrgb(216, 153, 239)
HSLhsl(284, 73%, 77%)
HSVhsv(284, 36%, 94%)
CMYKcmyk(9.6%, 36%, 0%, 6.3%)
CIE-LABlab(71.97, 38.20, -34.02)
CIE-LCHlch(71.97, 51.15, 318.31°)
OKLaboklab(77.37% 0.0992 -0.0934)
OKLCHoklch(77.37% 0.136 316.7)
XYZxyz(55.2878, 43.6147, 87.1506)
Luminance0.4361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D899EF #B0EF99
analogous
#AD99EF #D899EF #EF99DB
triadic
#D899EF #EFD899 #99EFD8
tetradic
#D899EF #EFAD99 #B0EF99 #99DBEF
square
#D899EF #EFAD99 #B0EF99 #99DBEF
split-complementary
#D899EF #DBEF99 #99EFAD
monochromatic
#B02FDE #C464E7 #D899EF #ECCEF7 #F5E5FB

Accessibility & contrast

On white

2.16
#D899EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#D899EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D899EF
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D899EF#FFFFFF#000000##000000
##D899EF1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#D8A4B9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d899ef;
/* rgb */ color: rgb(216, 153, 239);
/* oklch */ color: oklch(77.4% 0.136 316.7);
Tailwind
colors: {
  custom: {
    50: '#e5b8f4',
    500: '#d899ef',
    950: '#000000',
  },
}
SCSS
$custom: #d899ef;
$custom-light: #e5b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d899ef",
  "rgb": {
    "r": 216,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 283.953,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77367,
    "c": 0.13622,
    "h": 316.7
  },
  "luminance": 0.43613
}

Semantic roles & 50–950 ramp

primary
#D899EF
secondary
#DFF3D8
accent
#D51145
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D899EF

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

Preview Lab → · Contrast checker → · Palette generator →

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