#D899EB#D899EB

#D899EB is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.2% C 0.132 H 318.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#D899EB
RGBrgb(216, 153, 235)
HSLhsl(286, 67%, 76%)
HSVhsv(286, 35%, 92%)
CMYKcmyk(8.1%, 34.9%, 0%, 7.8%)
CIE-LABlab(71.81, 37.40, -32.08)
CIE-LCHlch(71.81, 49.28, 319.38°)
OKLaboklab(77.2% 0.0982 -0.0879)
OKLCHoklch(77.2% 0.132 318.2)
XYZxyz(54.7035, 43.3810, 84.0729)
Luminance0.4338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D899EB #ACEB99
analogous
#AF99EB #D899EB #EB99D5
triadic
#D899EB #EBD899 #99EBD8
tetradic
#D899EB #EBAF99 #ACEB99 #99D5EB
square
#D899EB #EBAF99 #ACEB99 #99D5EB
split-complementary
#D899EB #D5EB99 #99EBAF
monochromatic
#B133D7 #C466E1 #D899EB #ECCCF5 #F5E5FA

Accessibility & contrast

On white

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

On black

9.68
#D899EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D899EB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D899EB#FFFFFF#000000##000000
##D899EB1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#D8A3B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d899eb;
/* rgb */ color: rgb(216, 153, 235);
/* oklch */ color: oklch(77.2% 0.132 318.2);
Tailwind
colors: {
  custom: {
    50: '#e5b8f1',
    500: '#d899eb',
    950: '#000000',
  },
}
SCSS
$custom: #d899eb;
$custom-light: #e5b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d899eb",
  "rgb": {
    "r": 216,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 286.098,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77196,
    "c": 0.1318,
    "h": 318.2
  },
  "luminance": 0.4338
}

Semantic roles & 50–950 ramp

primary
#D899EB
secondary
#DFF1DA
accent
#CF1641
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D899EB

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

Preview Lab → · Contrast checker → · Palette generator →

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