#D288EC#D288EC

#D288EC is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.9% C 0.159 H 316.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#D288EC
RGBrgb(210, 136, 236)
HSLhsl(284, 72%, 73%)
HSVhsv(284, 42%, 93%)
CMYKcmyk(11%, 42.4%, 0%, 7.5%)
CIE-LABlab(67.55, 44.89, -39.30)
CIE-LCHlch(67.55, 59.66, 318.80°)
OKLaboklab(73.86% 0.1159 -0.1085)
OKLCHoklch(73.86% 0.159 316.9)
XYZxyz(50.5206, 37.3675, 83.8920)
Luminance0.3737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288EC #A2EC88
analogous
#A088EC #D288EC #EC88D4
triadic
#D288EC #ECD288 #88ECD2
tetradic
#D288EC #ECA088 #A2EC88 #88D4EC
square
#D288EC #ECA088 #A2EC88 #88D4EC
split-complementary
#D288EC #D4EC88 #88ECA0
monochromatic
#A822D7 #BE53E4 #D288EC #E6BDF4 #F5E5FB

Accessibility & contrast

On white

2.48
#D288EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#D288EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288EC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288EC#FFFFFF#000000##000000
##D288EC1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#D195AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d288ec;
/* rgb */ color: rgb(210, 136, 236);
/* oklch */ color: oklch(73.9% 0.159 316.9);
Tailwind
colors: {
  custom: {
    50: '#e1acf2',
    500: '#d288ec',
    950: '#000000',
  },
}
SCSS
$custom: #d288ec;
$custom-light: #e1acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d288ec",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 284.4,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73856,
    "c": 0.15878,
    "h": 316.9
  },
  "luminance": 0.37366
}

Semantic roles & 50–950 ramp

primary
#D288EC
secondary
#DFF2D9
accent
#D51144
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D288EC

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

Preview Lab → · Contrast checker → · Palette generator →

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