#D158C8#D158C8

#D158C8 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.3% C 0.201 H 330.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D158C8
RGBrgb(209, 88, 200)
HSLhsl(304, 57%, 58%)
HSVhsv(304, 58%, 82%)
CMYKcmyk(0%, 57.9%, 4.3%, 18%)
CIE-LABlab(56.79, 61.60, -35.96)
CIE-LCHlch(56.79, 71.33, 329.73°)
OKLaboklab(65.33% 0.1747 -0.0986)
OKLCHoklch(65.33% 0.201 330.6)
XYZxyz(40.2093, 24.7076, 57.2836)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158C8 #58D161
analogous
#9D58D1 #D158C8 #D1588B
triadic
#D158C8 #C8D158 #58C8D1
tetradic
#D158C8 #D19D58 #58D161 #588BD1
square
#D158C8 #D19D58 #58D161 #588BD1
split-complementary
#D158C8 #8BD158 #58D19D
monochromatic
#892682 #B933AF #D158C8 #DE88D8 #EBB8E8

Accessibility & contrast

On white

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

On black

5.94
#D158C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158C8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158C8#FFFFFF#000000##000000
##D158C81.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECB
Deuteranopia (green-blind)
#788EC5
Tritanopia (blue-blind)
#D86388
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d158c8;
/* rgb */ color: rgb(209, 88, 200);
/* oklch */ color: oklch(65.3% 0.201 330.6);
Tailwind
colors: {
  custom: {
    50: '#e28ed9',
    500: '#d158c8',
    950: '#000000',
  },
}
SCSS
$custom: #d158c8;
$custom-light: #e28ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#d158c8",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 304.463,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65331,
    "c": 0.20061,
    "h": 330.6
  },
  "luminance": 0.24705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D158C8

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

Preview Lab → · Contrast checker → · Palette generator →

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