#D159C7#D159C7

#D159C7 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.4% C 0.198 H 330.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D159C7
RGBrgb(209, 89, 199)
HSLhsl(305, 57%, 58%)
HSVhsv(305, 57%, 82%)
CMYKcmyk(0%, 57.4%, 4.8%, 18%)
CIE-LABlab(56.91, 60.99, -35.20)
CIE-LCHlch(56.91, 70.42, 330.01°)
OKLaboklab(65.4% 0.1733 -0.0964)
OKLCHoklch(65.4% 0.198 330.9)
XYZxyz(40.1755, 24.8263, 56.6977)
Luminance0.2482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159C7 #59D163
analogous
#9F59D1 #D159C7 #D1598B
triadic
#D159C7 #C7D159 #59C7D1
tetradic
#D159C7 #D19F59 #59D163 #598BD1
square
#D159C7 #D19F59 #59D163 #598BD1
split-complementary
#D159C7 #8BD159 #59D19F
monochromatic
#892681 #B933AE #D159C7 #DE89D7 #ECB9E7

Accessibility & contrast

On white

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

On black

5.96
#D159C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159C7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159C7#FFFFFF#000000##000000
##D159C71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECA
Deuteranopia (green-blind)
#798FC4
Tritanopia (blue-blind)
#D96488
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d159c7;
/* rgb */ color: rgb(209, 89, 199);
/* oklch */ color: oklch(65.4% 0.198 330.9);
Tailwind
colors: {
  custom: {
    50: '#e28ed8',
    500: '#d159c7',
    950: '#000000',
  },
}
SCSS
$custom: #d159c7;
$custom-light: #e28ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#d159c7",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 199
  },
  "hsl": {
    "h": 305,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65401,
    "c": 0.19833,
    "h": 330.9
  },
  "luminance": 0.24824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D159C7

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

Preview Lab → · Contrast checker → · Palette generator →

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