#D159E7#D159E7

#D159E7 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.1% C 0.226 H 321.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D159E7
RGBrgb(209, 89, 231)
HSLhsl(291, 75%, 63%)
HSVhsv(291, 61%, 91%)
CMYKcmyk(9.5%, 61.5%, 0%, 9.4%)
CIE-LABlab(58.48, 66.59, -50.81)
CIE-LCHlch(58.48, 83.76, 322.65°)
OKLaboklab(67.06% 0.1758 -0.1416)
OKLCHoklch(67.06% 0.226 321.2)
XYZxyz(44.2890, 26.4718, 78.3625)
Luminance0.2647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159E7 #6FE759
analogous
#8A59E7 #D159E7 #E759B6
triadic
#D159E7 #E7D159 #59E7D1
tetradic
#D159E7 #E78A59 #6FE759 #59B6E7
square
#D159E7 #E78A59 #6FE759 #59B6E7
split-complementary
#D159E7 #B6E759 #59E78A
monochromatic
#9619AD #C224DF #D159E7 #E08EEF #EFC4F6

Accessibility & contrast

On white

3.34
#D159E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D159E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159E7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159E7#FFFFFF#000000##000000
##D159E71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#6891E3
Tritanopia (blue-blind)
#D37098
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d159e7;
/* rgb */ color: rgb(209, 89, 231);
/* oklch */ color: oklch(67.1% 0.226 321.2);
Tailwind
colors: {
  custom: {
    50: '#e28fef',
    500: '#d159e7',
    950: '#000000',
  },
}
SCSS
$custom: #d159e7;
$custom-light: #e28fef;
$custom-dark: #000000;
JSON
{
  "hex": "#d159e7",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 290.704,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.22571,
    "h": 321.2
  },
  "luminance": 0.2647
}

Semantic roles & 50–950 ramp

primary
#D159E7
secondary
#BCE8B4
accent
#D70F2E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D159E7

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

Preview Lab → · Contrast checker → · Palette generator →

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