#D888EA#D888EA

#D888EA is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.4% C 0.160 H 320.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#D888EA
RGBrgb(216, 136, 234)
HSLhsl(289, 70%, 73%)
HSVhsv(289, 42%, 92%)
CMYKcmyk(7.7%, 41.9%, 0%, 8.2%)
CIE-LABlab(68.13, 46.23, -37.24)
CIE-LCHlch(68.13, 59.37, 321.15°)
OKLaboklab(74.41% 0.1225 -0.1025)
OKLCHoklch(74.41% 0.16 320.1)
XYZxyz(51.9725, 38.1495, 82.4518)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D888EA #9AEA88
analogous
#A788EA #D888EA #EA88CB
triadic
#D888EA #EAD888 #88EAD8
tetradic
#D888EA #EAA788 #9AEA88 #88CBEA
square
#D888EA #EAA788 #9AEA88 #88CBEA
split-complementary
#D888EA #CBEA88 #88EAA7
monochromatic
#B325D2 #C754E1 #D888EA #E9BCF3 #F6E5FA

Accessibility & contrast

On white

2.43
#D888EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#D888EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D888EA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D888EA#FFFFFF#000000##000000
##D888EA1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0EE
Deuteranopia (green-blind)
#8FA9E7
Tritanopia (blue-blind)
#D994AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d888ea;
/* rgb */ color: rgb(216, 136, 234);
/* oklch */ color: oklch(74.4% 0.160 320.1);
Tailwind
colors: {
  custom: {
    50: '#e5acf1',
    500: '#d888ea',
    950: '#000000',
  },
}
SCSS
$custom: #d888ea;
$custom-light: #e5acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d888ea",
  "rgb": {
    "r": 216,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 288.98,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74409,
    "c": 0.1597,
    "h": 320.1
  },
  "luminance": 0.38148
}

Semantic roles & 50–950 ramp

primary
#D888EA
secondary
#DEF2D9
accent
#D21436
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D888EA

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

Preview Lab → · Contrast checker → · Palette generator →

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