#D159C8#D159C8

#D159C8 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.4% C 0.199 H 330.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D159C8
RGBrgb(209, 89, 200)
HSLhsl(305, 57%, 58%)
HSVhsv(305, 57%, 82%)
CMYKcmyk(0%, 57.4%, 4.3%, 18%)
CIE-LABlab(56.95, 61.16, -35.70)
CIE-LCHlch(56.95, 70.82, 329.72°)
OKLaboklab(65.45% 0.1735 -0.0979)
OKLCHoklch(65.45% 0.199 330.6)
XYZxyz(40.2919, 24.8729, 57.3111)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159C8 #59D162
analogous
#9E59D1 #D159C8 #D1598C
triadic
#D159C8 #C8D159 #59C8D1
tetradic
#D159C8 #D19E59 #59D162 #598CD1
square
#D159C8 #D19E59 #59D162 #598CD1
split-complementary
#D159C8 #8CD159 #59D19E
monochromatic
#892682 #B933AF #D159C8 #DE89D8 #ECB9E8

Accessibility & contrast

On white

3.52
#D159C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D159C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159C8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159C8#FFFFFF#000000##000000
##D159C81.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#788FC5
Tritanopia (blue-blind)
#D86488
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d159c8;
/* rgb */ color: rgb(209, 89, 200);
/* oklch */ color: oklch(65.4% 0.199 330.6);
Tailwind
colors: {
  custom: {
    50: '#e28ed9',
    500: '#d159c8',
    950: '#000000',
  },
}
SCSS
$custom: #d159c8;
$custom-light: #e28ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#d159c8",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 304.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65449,
    "c": 0.19915,
    "h": 330.6
  },
  "luminance": 0.2487
}

Semantic roles & 50–950 ramp

primary
#D159C8
secondary
#ABDBAF
accent
#E05348
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D159C8

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

Preview Lab → · Contrast checker → · Palette generator →

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