#D159EE#D159EE

#D159EE is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.232 H 319.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D159EE
RGBrgb(209, 89, 238)
HSLhsl(288, 81%, 64%)
HSVhsv(288, 63%, 93%)
CMYKcmyk(12.2%, 62.6%, 0%, 6.7%)
CIE-LABlab(58.86, 67.89, -54.13)
CIE-LCHlch(58.86, 86.82, 321.44°)
OKLaboklab(67.46% 0.1759 -0.1512)
OKLCHoklch(67.46% 0.232 319.3)
XYZxyz(45.2975, 26.8751, 83.6737)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159EE #76EE59
analogous
#8759EE #D159EE #EE59C1
triadic
#D159EE #EED159 #59EED1
tetradic
#D159EE #EE8759 #76EE59 #59C1EE
square
#D159EE #EE8759 #76EE59 #59C1EE
split-complementary
#D159EE #C1EE59 #59EE87
monochromatic
#9913BA #C221E8 #D159EE #E091F4 #F0C8F9

Accessibility & contrast

On white

3.29
#D159EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D159EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159EE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159EE#FFFFFF#000000##000000
##D159EE1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F3
Deuteranopia (green-blind)
#6392EA
Tritanopia (blue-blind)
#D1729C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d159ee;
/* rgb */ color: rgb(209, 89, 238);
/* oklch */ color: oklch(67.5% 0.232 319.3);
Tailwind
colors: {
  custom: {
    50: '#e38ff4',
    500: '#d159ee',
    950: '#000000',
  },
}
SCSS
$custom: #d159ee;
$custom-light: #e38ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d159ee",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 288.322,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67456,
    "c": 0.23197,
    "h": 319.3
  },
  "luminance": 0.26873
}

Semantic roles & 50–950 ramp

primary
#D159EE
secondary
#C2EBB7
accent
#DE0831
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D159EE

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

Preview Lab → · Contrast checker → · Palette generator →

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