#D899ED#D899ED

#D899ED is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.3% C 0.134 H 317.4°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#D899ED
RGBrgb(216, 153, 237)
HSLhsl(285, 70%, 76%)
HSVhsv(285, 35%, 93%)
CMYKcmyk(8.9%, 35.4%, 0%, 7.1%)
CIE-LABlab(71.89, 37.80, -33.05)
CIE-LCHlch(71.89, 50.21, 318.83°)
OKLaboklab(77.28% 0.0987 -0.0906)
OKLCHoklch(77.28% 0.134 317.4)
XYZxyz(54.9940, 43.4972, 85.6032)
Luminance0.4350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D899ED #AEED99
analogous
#AE99ED #D899ED #ED99D8
triadic
#D899ED #EDD899 #99EDD8
tetradic
#D899ED #EDAE99 #AEED99 #99D8ED
square
#D899ED #EDAE99 #AEED99 #99D8ED
split-complementary
#D899ED #D8ED99 #99EDAE
monochromatic
#B031DB #C465E4 #D899ED #ECCDF6 #F5E5FA

Accessibility & contrast

On white

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

On black

9.70
#D899ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D899ED
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D899ED#FFFFFF#000000##000000
##D899ED1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF0
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#D8A3B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d899ed;
/* rgb */ color: rgb(216, 153, 237);
/* oklch */ color: oklch(77.3% 0.134 317.4);
Tailwind
colors: {
  custom: {
    50: '#e5b8f3',
    500: '#d899ed',
    950: '#000000',
  },
}
SCSS
$custom: #d899ed;
$custom-light: #e5b8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d899ed",
  "rgb": {
    "r": 216,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 285,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77281,
    "c": 0.134,
    "h": 317.4
  },
  "luminance": 0.43496
}

Semantic roles & 50–950 ramp

primary
#D899ED
secondary
#DFF2D9
accent
#D21443
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D899ED

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

Preview Lab → · Contrast checker → · Palette generator →

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