#D899EC#D899EC

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

Color values

HEX#D899EC
RGBrgb(216, 153, 236)
HSLhsl(286, 69%, 76%)
HSVhsv(286, 35%, 93%)
CMYKcmyk(8.5%, 35.2%, 0%, 7.5%)
CIE-LABlab(71.85, 37.60, -32.57)
CIE-LCHlch(71.85, 49.74, 319.10°)
OKLaboklab(77.24% 0.0985 -0.0893)
OKLCHoklch(77.24% 0.133 317.8)
XYZxyz(54.8483, 43.4389, 84.8359)
Luminance0.4344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D899EC #ADEC99
analogous
#AF99EC #D899EC #EC99D7
triadic
#D899EC #ECD899 #99ECD8
tetradic
#D899EC #ECAF99 #ADEC99 #99D7EC
square
#D899EC #ECAF99 #ADEC99 #99D7EC
split-complementary
#D899EC #D7EC99 #99ECAF
monochromatic
#B132D9 #C465E2 #D899EC #ECCDF6 #F5E5FA

Accessibility & contrast

On white

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

On black

9.69
#D899EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D899EC
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D899EC#FFFFFF#000000##000000
##D899EC1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d899ec;
/* rgb */ color: rgb(216, 153, 236);
/* oklch */ color: oklch(77.2% 0.133 317.8);
Tailwind
colors: {
  custom: {
    50: '#e5b8f2',
    500: '#d899ec',
    950: '#000000',
  },
}
SCSS
$custom: #d899ec;
$custom-light: #e5b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d899ec",
  "rgb": {
    "r": 216,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 285.542,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77238,
    "c": 0.1329,
    "h": 317.8
  },
  "luminance": 0.43438
}

Semantic roles & 50–950 ramp

primary
#D899EC
secondary
#DFF2D9
accent
#D11542
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D899EC

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

Preview Lab → · Contrast checker → · Palette generator →

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