#D288EF#D288EF

#D288EF is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.0% C 0.162 H 315.9°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#D288EF
RGBrgb(210, 136, 239)
HSLhsl(283, 76%, 74%)
HSVhsv(283, 43%, 94%)
CMYKcmyk(12.1%, 43.1%, 0%, 6.3%)
CIE-LABlab(67.68, 45.49, -40.74)
CIE-LCHlch(67.68, 61.07, 318.15°)
OKLaboklab(74% 0.1165 -0.1127)
OKLCHoklch(74% 0.162 315.9)
XYZxyz(50.9601, 37.5433, 86.2067)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288EF #A5EF88
analogous
#9E88EF #D288EF #EF88D8
triadic
#D288EF #EFD288 #88EFD2
tetradic
#D288EF #EF9E88 #A5EF88 #88D8EF
square
#D288EF #EF9E88 #A5EF88 #88D8EF
split-complementary
#D288EF #D8EF88 #88EF9E
monochromatic
#A81EDF #BE52E8 #D288EF #E6BEF6 #F5E4FB

Accessibility & contrast

On white

2.47
#D288EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#D288EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288EF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288EF#FFFFFF#000000##000000
##D288EF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#D196B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d288ef;
/* rgb */ color: rgb(210, 136, 239);
/* oklch */ color: oklch(74.0% 0.162 315.9);
Tailwind
colors: {
  custom: {
    50: '#e1acf4',
    500: '#d288ef',
    950: '#000000',
  },
}
SCSS
$custom: #d288ef;
$custom-light: #e1acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d288ef",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 283.107,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73997,
    "c": 0.16203,
    "h": 315.9
  },
  "luminance": 0.37542
}

Semantic roles & 50–950 ramp

primary
#D288EF
secondary
#E0F3D8
accent
#D80D46
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D288EF

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

Preview Lab → · Contrast checker → · Palette generator →

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