#D159CD#D159CD

#D159CD is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.7% C 0.203 H 328.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#D159CD
RGBrgb(209, 89, 205)
HSLhsl(302, 57%, 58%)
HSVhsv(302, 57%, 82%)
CMYKcmyk(0%, 57.4%, 1.9%, 18%)
CIE-LABlab(57.18, 62.00, -38.19)
CIE-LCHlch(57.18, 72.82, 328.37°)
OKLaboklab(65.69% 0.1741 -0.105)
OKLCHoklch(65.69% 0.203 328.9)
XYZxyz(40.8859, 25.1105, 60.4391)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159CD #59D15D
analogous
#9959D1 #D159CD #D15991
triadic
#D159CD #CDD159 #59CDD1
tetradic
#D159CD #D19959 #59D15D #5991D1
square
#D159CD #D19959 #59D15D #5991D1
split-complementary
#D159CD #91D159 #59D199
monochromatic
#892686 #B933B5 #D159CD #DE89DB #ECB9EA

Accessibility & contrast

On white

3.49
#D159CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#D159CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159CD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159CD#FFFFFF#000000##000000
##D159CD1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#D8668B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d159cd;
/* rgb */ color: rgb(209, 89, 205);
/* oklch */ color: oklch(65.7% 0.203 328.9);
Tailwind
colors: {
  custom: {
    50: '#e28edc',
    500: '#d159cd',
    950: '#000000',
  },
}
SCSS
$custom: #d159cd;
$custom-light: #e28edc;
$custom-dark: #000000;
JSON
{
  "hex": "#d159cd",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 302,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65694,
    "c": 0.20327,
    "h": 328.9
  },
  "luminance": 0.25108
}

Semantic roles & 50–950 ramp

primary
#D159CD
secondary
#ABDBAD
accent
#E04D48
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D159CD

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

Preview Lab → · Contrast checker → · Palette generator →

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