#D888EF#D888EF

#D888EF is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.6% C 0.165 H 318.4°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#D888EF
RGBrgb(216, 136, 239)
HSLhsl(287, 76%, 74%)
HSVhsv(287, 43%, 94%)
CMYKcmyk(9.6%, 43.1%, 0%, 6.3%)
CIE-LABlab(68.34, 47.21, -39.66)
CIE-LCHlch(68.34, 61.66, 319.97°)
OKLaboklab(74.64% 0.1234 -0.1094)
OKLCHoklch(74.64% 0.165 318.4)
XYZxyz(52.7009, 38.4409, 86.2883)
Luminance0.3844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D888EF #9FEF88
analogous
#A488EF #D888EF #EF88D2
triadic
#D888EF #EFD888 #88EFD8
tetradic
#D888EF #EFA488 #9FEF88 #88D2EF
square
#D888EF #EFA488 #9FEF88 #88D2EF
split-complementary
#D888EF #D2EF88 #88EFA4
monochromatic
#B41EDF #C652E8 #D888EF #EABEF6 #F6E4FB

Accessibility & contrast

On white

2.42
#D888EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#D888EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D888EF
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D888EF#FFFFFF#000000##000000
##D888EF1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F3
Deuteranopia (green-blind)
#8DA9EC
Tritanopia (blue-blind)
#D895B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d888ef;
/* rgb */ color: rgb(216, 136, 239);
/* oklch */ color: oklch(74.6% 0.165 318.4);
Tailwind
colors: {
  custom: {
    50: '#e6acf4',
    500: '#d888ef',
    950: '#000000',
  },
}
SCSS
$custom: #d888ef;
$custom-light: #e6acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d888ef",
  "rgb": {
    "r": 216,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 286.602,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74639,
    "c": 0.16492,
    "h": 318.4
  },
  "luminance": 0.38439
}

Semantic roles & 50–950 ramp

primary
#D888EF
secondary
#DEF3D8
accent
#D80D3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D888EF

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

Preview Lab → · Contrast checker → · Palette generator →

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