#D159E4#D159E4

#D159E4 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.9% C 0.223 H 322.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D159E4
RGBrgb(209, 89, 228)
HSLhsl(292, 72%, 62%)
HSVhsv(292, 61%, 89%)
CMYKcmyk(8.3%, 61%, 0%, 10.6%)
CIE-LABlab(58.32, 66.04, -49.38)
CIE-LCHlch(58.32, 82.46, 323.21°)
OKLaboklab(66.9% 0.1757 -0.1374)
OKLCHoklch(66.9% 0.223 322)
XYZxyz(43.8690, 26.3037, 76.1501)
Luminance0.2630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159E4 #6CE459
analogous
#8C59E4 #D159E4 #E459B1
triadic
#D159E4 #E4D159 #59E4D1
tetradic
#D159E4 #E48C59 #6CE459 #59B1E4
square
#D159E4 #E48C59 #6CE459 #59B1E4
split-complementary
#D159E4 #B1E459 #59E48C
monochromatic
#941BA7 #C224DB #D159E4 #E08EED #EEC2F5

Accessibility & contrast

On white

3.35
#D159E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D159E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159E4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159E4#FFFFFF#000000##000000
##D159E41.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B83E8
Deuteranopia (green-blind)
#6A91E0
Tritanopia (blue-blind)
#D36F97
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d159e4;
/* rgb */ color: rgb(209, 89, 228);
/* oklch */ color: oklch(66.9% 0.223 322.0);
Tailwind
colors: {
  custom: {
    50: '#e28fed',
    500: '#d159e4',
    950: '#000000',
  },
}
SCSS
$custom: #d159e4;
$custom-light: #e28fed;
$custom-dark: #000000;
JSON
{
  "hex": "#d159e4",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 291.799,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66896,
    "c": 0.22305,
    "h": 322
  },
  "luminance": 0.26302
}

Semantic roles & 50–950 ramp

primary
#D159E4
secondary
#BAE6B3
accent
#D4112C
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D159E4

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

Preview Lab → · Contrast checker → · Palette generator →

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