#D159C5#D159C5

#D159C5 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.3% C 0.197 H 331.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D159C5
RGBrgb(209, 89, 197)
HSLhsl(306, 57%, 58%)
HSVhsv(306, 57%, 82%)
CMYKcmyk(0%, 57.4%, 5.7%, 18%)
CIE-LABlab(56.82, 60.66, -34.20)
CIE-LCHlch(56.82, 69.64, 330.59°)
OKLaboklab(65.31% 0.1731 -0.0935)
OKLCHoklch(65.31% 0.197 331.6)
XYZxyz(39.9448, 24.7341, 55.4828)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159C5 #59D165
analogous
#A159D1 #D159C5 #D15989
triadic
#D159C5 #C5D159 #59C5D1
tetradic
#D159C5 #D1A159 #59D165 #5989D1
square
#D159C5 #D1A159 #59D165 #5989D1
split-complementary
#D159C5 #89D159 #59D1A1
monochromatic
#892680 #B933AC #D159C5 #DE89D6 #ECB9E6

Accessibility & contrast

On white

3.53
#D159C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D159C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159C5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159C5#FFFFFF#000000##000000
##D159C51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC8
Deuteranopia (green-blind)
#798EC2
Tritanopia (blue-blind)
#D96387
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d159c5;
/* rgb */ color: rgb(209, 89, 197);
/* oklch */ color: oklch(65.3% 0.197 331.6);
Tailwind
colors: {
  custom: {
    50: '#e28ed7',
    500: '#d159c5',
    950: '#000000',
  },
}
SCSS
$custom: #d159c5;
$custom-light: #e28ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#d159c5",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 197
  },
  "hsl": {
    "h": 306,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65305,
    "c": 0.19672,
    "h": 331.6
  },
  "luminance": 0.24731
}

Semantic roles & 50–950 ramp

primary
#D159C5
secondary
#ABDBB0
accent
#E05748
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D159C5

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

Preview Lab → · Contrast checker → · Palette generator →

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