#D159EB#D159EB

#D159EB is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.229 H 320.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#D159EB
RGBrgb(209, 89, 235)
HSLhsl(289, 78%, 64%)
HSVhsv(289, 62%, 92%)
CMYKcmyk(11.1%, 62.1%, 0%, 7.8%)
CIE-LABlab(58.70, 67.33, -52.71)
CIE-LCHlch(58.70, 85.51, 321.94°)
OKLaboklab(67.29% 0.1759 -0.1471)
OKLCHoklch(67.29% 0.229 320.1)
XYZxyz(44.8604, 26.7003, 81.3718)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159EB #73EB59
analogous
#8859EB #D159EB #EB59BC
triadic
#D159EB #EBD159 #59EBD1
tetradic
#D159EB #EB8859 #73EB59 #59BCEB
square
#D159EB #EB8859 #73EB59 #59BCEB
split-complementary
#D159EB #BCEB59 #59EB88
monochromatic
#9816B4 #C222E4 #D159EB #E090F2 #EFC6F8

Accessibility & contrast

On white

3.31
#D159EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#D159EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159EB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159EB#FFFFFF#000000##000000
##D159EB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#D2719A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d159eb;
/* rgb */ color: rgb(209, 89, 235);
/* oklch */ color: oklch(67.3% 0.229 320.1);
Tailwind
colors: {
  custom: {
    50: '#e28ff2',
    500: '#d159eb',
    950: '#000000',
  },
}
SCSS
$custom: #d159eb;
$custom-light: #e28ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d159eb",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 289.315,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67285,
    "c": 0.22928,
    "h": 320.1
  },
  "luminance": 0.26698
}

Semantic roles & 50–950 ramp

primary
#D159EB
secondary
#BFEAB6
accent
#DB0B30
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D159EB

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

Preview Lab → · Contrast checker → · Palette generator →

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