#D158D9#D158D9

#D158D9 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.2% C 0.215 H 325.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D158D9
RGBrgb(209, 88, 217)
HSLhsl(296, 63%, 60%)
HSVhsv(296, 59%, 85%)
CMYKcmyk(3.7%, 59.4%, 0%, 14.9%)
CIE-LABlab(57.60, 64.50, -44.33)
CIE-LCHlch(57.60, 78.27, 325.50°)
OKLaboklab(66.19% 0.1763 -0.1227)
OKLCHoklch(66.19% 0.215 325.2)
XYZxyz(42.3076, 25.5470, 68.3348)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158D9 #60D958
analogous
#9158D9 #D158D9 #D958A1
triadic
#D158D9 #D9D158 #58D9D1
tetradic
#D158D9 #D99158 #60D958 #58A1D9
square
#D158D9 #D99158 #60D958 #58A1D9
split-complementary
#D158D9 #A1D958 #58D991
monochromatic
#8E2295 #BD2DC7 #D158D9 #DF8AE4 #ECBCF0

Accessibility & contrast

On white

3.44
#D158D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D158D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158D9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158D9#FFFFFF#000000##000000
##D158D91.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DD
Deuteranopia (green-blind)
#6F90D6
Tritanopia (blue-blind)
#D66A91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d158d9;
/* rgb */ color: rgb(209, 88, 217);
/* oklch */ color: oklch(66.2% 0.215 325.2);
Tailwind
colors: {
  custom: {
    50: '#e28ee5',
    500: '#d158d9',
    950: '#000000',
  },
}
SCSS
$custom: #d158d9;
$custom-light: #e28ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#d158d9",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 296.279,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66191,
    "c": 0.21484,
    "h": 325.2
  },
  "luminance": 0.25545
}

Semantic roles & 50–950 ramp

primary
#D158D9
secondary
#B1DFAD
accent
#E6424C
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D158D9

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

Preview Lab → · Contrast checker → · Palette generator →

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