#D159EF#D159EF

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

Color values

HEX#D159EF
RGBrgb(209, 89, 239)
HSLhsl(288, 82%, 64%)
HSVhsv(288, 63%, 94%)
CMYKcmyk(12.6%, 62.8%, 0%, 6.3%)
CIE-LABlab(58.91, 68.08, -54.60)
CIE-LCHlch(58.91, 87.26, 321.27°)
OKLaboklab(67.51% 0.1759 -0.1526)
OKLCHoklch(67.51% 0.233 319.1)
XYZxyz(45.4448, 26.9341, 84.4496)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159EF #77EF59
analogous
#8659EF #D159EF #EF59C2
triadic
#D159EF #EFD159 #59EFD1
tetradic
#D159EF #EF8659 #77EF59 #59C2EF
square
#D159EF #EF8659 #77EF59 #59C2EF
split-complementary
#D159EF #C2EF59 #59EF86
monochromatic
#9A12BC #C221EA #D159EF #E091F4 #F0C9FA

Accessibility & contrast

On white

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

On black

6.39
#D159EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159EF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159EF#FFFFFF#000000##000000
##D159EF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F4
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#D1739C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d159ef;
/* rgb */ color: rgb(209, 89, 239);
/* oklch */ color: oklch(67.5% 0.233 319.1);
Tailwind
colors: {
  custom: {
    50: '#e38ff5',
    500: '#d159ef',
    950: '#000000',
  },
}
SCSS
$custom: #d159ef;
$custom-light: #e38ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d159ef",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 288,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.23286,
    "h": 319.1
  },
  "luminance": 0.26932
}

Semantic roles & 50–950 ramp

primary
#D159EF
secondary
#C2ECB8
accent
#DF0732
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D159EF

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

Preview Lab → · Contrast checker → · Palette generator →

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