#D158CD#D158CD

#D158CD is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.6% C 0.205 H 328.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#D158CD
RGBrgb(209, 88, 205)
HSLhsl(302, 57%, 58%)
HSVhsv(302, 58%, 82%)
CMYKcmyk(0%, 57.9%, 1.9%, 18%)
CIE-LABlab(57.02, 62.44, -38.44)
CIE-LCHlch(57.02, 73.32, 328.38°)
OKLaboklab(65.58% 0.1753 -0.1057)
OKLCHoklch(65.58% 0.205 328.9)
XYZxyz(40.8032, 24.9452, 60.4115)
Luminance0.2494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158CD #58D15C
analogous
#9858D1 #D158CD #D15891
triadic
#D158CD #CDD158 #58CDD1
tetradic
#D158CD #D19858 #58D15C #5891D1
square
#D158CD #D19858 #58D15C #5891D1
split-complementary
#D158CD #91D158 #58D198
monochromatic
#892686 #B933B4 #D158CD #DE88DB #EBB8EA

Accessibility & contrast

On white

3.51
#D158CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#D158CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158CD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158CD#FFFFFF#000000##000000
##D158CD1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#758FCA
Tritanopia (blue-blind)
#D8658A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d158cd;
/* rgb */ color: rgb(209, 88, 205);
/* oklch */ color: oklch(65.6% 0.205 328.9);
Tailwind
colors: {
  custom: {
    50: '#e28edc',
    500: '#d158cd',
    950: '#000000',
  },
}
SCSS
$custom: #d158cd;
$custom-light: #e28edc;
$custom-dark: #000000;
JSON
{
  "hex": "#d158cd",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 301.983,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65576,
    "c": 0.20471,
    "h": 328.9
  },
  "luminance": 0.24943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D158CD

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

Preview Lab → · Contrast checker → · Palette generator →

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