#D159D7#D159D7

#D159D7 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.2% C 0.212 H 325.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D159D7
RGBrgb(209, 89, 215)
HSLhsl(297, 61%, 60%)
HSVhsv(297, 59%, 84%)
CMYKcmyk(2.8%, 58.6%, 0%, 15.7%)
CIE-LABlab(57.66, 63.72, -43.11)
CIE-LCHlch(57.66, 76.93, 325.92°)
OKLaboklab(66.2% 0.175 -0.1192)
OKLCHoklch(66.2% 0.212 325.7)
XYZxyz(42.1317, 25.6088, 67.0006)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159D7 #5FD759
analogous
#9259D7 #D159D7 #D7599E
triadic
#D159D7 #D7D159 #59D7D1
tetradic
#D159D7 #D79259 #5FD759 #599ED7
square
#D159D7 #D79259 #5FD759 #599ED7
split-complementary
#D159D7 #9ED759 #59D792
monochromatic
#8D2392 #BD2FC4 #D159D7 #DF8AE3 #ECBCEF

Accessibility & contrast

On white

3.43
#D159D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D159D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159D7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159D7#FFFFFF#000000##000000
##D159D71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4781DB
Deuteranopia (green-blind)
#7190D4
Tritanopia (blue-blind)
#D66A90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d159d7;
/* rgb */ color: rgb(209, 89, 215);
/* oklch */ color: oklch(66.2% 0.212 325.7);
Tailwind
colors: {
  custom: {
    50: '#e28fe4',
    500: '#d159d7',
    950: '#000000',
  },
}
SCSS
$custom: #d159d7;
$custom-light: #e28fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#d159d7",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 297.143,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66202,
    "c": 0.21171,
    "h": 325.7
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#D159D7
secondary
#B0DEAD
accent
#E4444B
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #D159D7

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

Preview Lab → · Contrast checker → · Palette generator →

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