#D288E2#D288E2

#D288E2 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.4% C 0.148 H 320.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D288E2
RGBrgb(210, 136, 226)
HSLhsl(289, 61%, 71%)
HSVhsv(289, 40%, 89%)
CMYKcmyk(7.1%, 39.8%, 0%, 11.4%)
CIE-LABlab(67.13, 42.90, -34.44)
CIE-LCHlch(67.13, 55.01, 321.24°)
OKLaboklab(73.4% 0.114 -0.0946)
OKLCHoklch(73.4% 0.148 320.3)
XYZxyz(49.1083, 36.8026, 76.4535)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288E2 #98E288
analogous
#A588E2 #D288E2 #E288C5
triadic
#D288E2 #E2D288 #88E2D2
tetradic
#D288E2 #E2A588 #98E288 #88C5E2
square
#D288E2 #E2A588 #98E288 #88C5E2
split-complementary
#D288E2 #C5E288 #88E2A5
monochromatic
#A72FC1 #BF57D6 #D288E2 #E5B9EE #F6E6F9

Accessibility & contrast

On white

2.51
#D288E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#D288E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288E2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288E2#FFFFFF#000000##000000
##D288E21.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#D393AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d288e2;
/* rgb */ color: rgb(210, 136, 226);
/* oklch */ color: oklch(73.4% 0.148 320.3);
Tailwind
colors: {
  custom: {
    50: '#e1aceb',
    500: '#d288e2',
    950: '#000000',
  },
}
SCSS
$custom: #d288e2;
$custom-light: #e1aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#d288e2",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 226
  },
  "hsl": {
    "h": 289.333,
    "s": 60.811,
    "l": 70.98
  },
  "oklch": {
    "l": 0.734,
    "c": 0.14812,
    "h": 320.3
  },
  "luminance": 0.36801
}

Semantic roles & 50–950 ramp

primary
#D288E2
secondary
#DBEFD7
accent
#C91D3B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D288E2

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

Preview Lab → · Contrast checker → · Palette generator →

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