#D159EA#D159EA

#D159EA is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.228 H 320.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D159EA
RGBrgb(209, 89, 234)
HSLhsl(290, 78%, 63%)
HSVhsv(290, 62%, 92%)
CMYKcmyk(10.7%, 62%, 0%, 8.2%)
CIE-LABlab(58.64, 67.14, -52.24)
CIE-LCHlch(58.64, 85.07, 322.12°)
OKLaboklab(67.23% 0.1759 -0.1457)
OKLCHoklch(67.23% 0.228 320.4)
XYZxyz(44.7164, 26.6427, 80.6131)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159EA #72EA59
analogous
#8859EA #D159EA #EA59BA
triadic
#D159EA #EAD159 #59EAD1
tetradic
#D159EA #EA8859 #72EA59 #59BAEA
square
#D159EA #EA8859 #72EA59 #59BAEA
split-complementary
#D159EA #BAEA59 #59EA88
monochromatic
#9717B2 #C223E3 #D159EA #E08FF1 #EFC6F8

Accessibility & contrast

On white

3.32
#D159EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D159EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159EA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159EA#FFFFFF#000000##000000
##D159EA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#6691E6
Tritanopia (blue-blind)
#D2719A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d159ea;
/* rgb */ color: rgb(209, 89, 234);
/* oklch */ color: oklch(67.2% 0.228 320.4);
Tailwind
colors: {
  custom: {
    50: '#e28ff1',
    500: '#d159ea',
    950: '#000000',
  },
}
SCSS
$custom: #d159ea;
$custom-light: #e28ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d159ea",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 289.655,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67229,
    "c": 0.22838,
    "h": 320.4
  },
  "luminance": 0.26641
}

Semantic roles & 50–950 ramp

primary
#D159EA
secondary
#BEE9B6
accent
#DA0C2F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D159EA

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

Preview Lab → · Contrast checker → · Palette generator →

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