#D288EB#D288EB

#D288EB is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.8% C 0.158 H 317.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#D288EB
RGBrgb(210, 136, 235)
HSLhsl(285, 71%, 73%)
HSVhsv(285, 42%, 92%)
CMYKcmyk(10.6%, 42.1%, 0%, 7.8%)
CIE-LABlab(67.51, 44.68, -38.81)
CIE-LCHlch(67.51, 59.19, 319.02°)
OKLaboklab(73.81% 0.1157 -0.1071)
OKLCHoklch(73.81% 0.158 317.2)
XYZxyz(50.3758, 37.3096, 83.1290)
Luminance0.3731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288EB #A1EB88
analogous
#A088EB #D288EB #EB88D3
triadic
#D288EB #EBD288 #88EBD2
tetradic
#D288EB #EBA088 #A1EB88 #88D3EB
square
#D288EB #EBA088 #A1EB88 #88D3EB
split-complementary
#D288EB #D3EB88 #88EBA0
monochromatic
#A824D5 #BE54E2 #D288EB #E6BCF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.46
#D288EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288EB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288EB#FFFFFF#000000##000000
##D288EB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#8BA7E8
Tritanopia (blue-blind)
#D295AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d288eb;
/* rgb */ color: rgb(210, 136, 235);
/* oklch */ color: oklch(73.8% 0.158 317.2);
Tailwind
colors: {
  custom: {
    50: '#e1acf2',
    500: '#d288eb',
    950: '#000000',
  },
}
SCSS
$custom: #d288eb;
$custom-light: #e1acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d288eb",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 284.848,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7381,
    "c": 0.1577,
    "h": 317.2
  },
  "luminance": 0.37308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D288EB

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

Preview Lab → · Contrast checker → · Palette generator →

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