#D158CA#D158CA

#D158CA is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.4% C 0.202 H 329.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D158CA
RGBrgb(209, 88, 202)
HSLhsl(303, 57%, 58%)
HSVhsv(303, 58%, 82%)
CMYKcmyk(0%, 57.9%, 3.3%, 18%)
CIE-LABlab(56.88, 61.93, -36.95)
CIE-LCHlch(56.88, 72.12, 329.18°)
OKLaboklab(65.43% 0.175 -0.1014)
OKLCHoklch(65.43% 0.202 329.9)
XYZxyz(40.4446, 24.8017, 58.5226)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158CA #58D15F
analogous
#9B58D1 #D158CA #D1588D
triadic
#D158CA #CAD158 #58CAD1
tetradic
#D158CA #D19B58 #58D15F #588DD1
square
#D158CA #D19B58 #58D15F #588DD1
split-complementary
#D158CA #8DD158 #58D19B
monochromatic
#892683 #B933B1 #D158CA #DE88D9 #EBB8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D158CA#FFFFFF#000000##000000
##D158CA1.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)
#4F7ECE
Deuteranopia (green-blind)
#778EC7
Tritanopia (blue-blind)
#D86489
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d158ca;
/* rgb */ color: rgb(209, 88, 202);
/* oklch */ color: oklch(65.4% 0.202 329.9);
Tailwind
colors: {
  custom: {
    50: '#e28eda',
    500: '#d158ca',
    950: '#000000',
  },
}
SCSS
$custom: #d158ca;
$custom-light: #e28eda;
$custom-dark: #000000;
JSON
{
  "hex": "#d158ca",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 303.471,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65428,
    "c": 0.20224,
    "h": 329.9
  },
  "luminance": 0.24799
}

Semantic roles & 50–950 ramp

primary
#D158CA
secondary
#AADAAD
accent
#E05148
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D158CA

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

Preview Lab → · Contrast checker → · Palette generator →

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