#D159DC#D159DC

#D159DC is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.5% C 0.216 H 324.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D159DC
RGBrgb(209, 89, 220)
HSLhsl(295, 65%, 61%)
HSVhsv(295, 60%, 86%)
CMYKcmyk(5%, 59.5%, 0%, 13.7%)
CIE-LABlab(57.91, 64.60, -45.54)
CIE-LCHlch(57.91, 79.04, 324.82°)
OKLaboklab(66.46% 0.1753 -0.1262)
OKLCHoklch(66.46% 0.216 324.2)
XYZxyz(42.7840, 25.8698, 70.4361)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159DC #64DC59
analogous
#8F59DC #D159DC #DC59A5
triadic
#D159DC #DCD159 #59DCD1
tetradic
#D159DC #DC8F59 #64DC59 #59A5DC
square
#D159DC #DC8F59 #64DC59 #59A5DC
split-complementary
#D159DC #A5DC59 #59DC8F
monochromatic
#90209A #BF2BCD #D159DC #DF8CE7 #EDBEF1

Accessibility & contrast

On white

3.40
#D159DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D159DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159DC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159DC#FFFFFF#000000##000000
##D159DC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#6E90D8
Tritanopia (blue-blind)
#D56C92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d159dc;
/* rgb */ color: rgb(209, 89, 220);
/* oklch */ color: oklch(66.5% 0.216 324.2);
Tailwind
colors: {
  custom: {
    50: '#e28fe7',
    500: '#d159dc',
    950: '#000000',
  },
}
SCSS
$custom: #d159dc;
$custom-light: #e28fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d159dc",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 294.962,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.21604,
    "h": 324.2
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#D159DC
secondary
#B4E1AF
accent
#CD1828
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D159DC

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

Preview Lab → · Contrast checker → · Palette generator →

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