#D158CB#D158CB

#D158CB is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.5% C 0.203 H 329.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D158CB
RGBrgb(209, 88, 203)
HSLhsl(303, 57%, 58%)
HSVhsv(303, 58%, 82%)
CMYKcmyk(0%, 57.9%, 2.9%, 18%)
CIE-LABlab(56.93, 62.10, -37.45)
CIE-LCHlch(56.93, 72.52, 328.91°)
OKLaboklab(65.48% 0.1751 -0.1029)
OKLCHoklch(65.48% 0.203 329.6)
XYZxyz(40.5633, 24.8492, 59.1482)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158CB #58D15E
analogous
#9A58D1 #D158CB #D1588E
triadic
#D158CB #CBD158 #58CBD1
tetradic
#D158CB #D19A58 #58D15E #588ED1
square
#D158CB #D19A58 #58D15E #588ED1
split-complementary
#D158CB #8ED158 #58D19A
monochromatic
#892684 #B933B2 #D158CB #DE88DA #EBB8E9

Accessibility & contrast

On white

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

On black

5.97
#D158CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158CB#FFFFFF#000000##000000
##D158CB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECF
Deuteranopia (green-blind)
#768EC8
Tritanopia (blue-blind)
#D86589
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d158cb;
/* rgb */ color: rgb(209, 88, 203);
/* oklch */ color: oklch(65.5% 0.203 329.6);
Tailwind
colors: {
  custom: {
    50: '#e28edb',
    500: '#d158cb',
    950: '#000000',
  },
}
SCSS
$custom: #d158cb;
$custom-light: #e28edb;
$custom-dark: #000000;
JSON
{
  "hex": "#d158cb",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 302.975,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65477,
    "c": 0.20305,
    "h": 329.6
  },
  "luminance": 0.24847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D158CB

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

Preview Lab → · Contrast checker → · Palette generator →

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