#D158EE#D158EE

#D158EE is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.233 H 319.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#D158EE
RGBrgb(209, 88, 238)
HSLhsl(288, 82%, 64%)
HSVhsv(288, 63%, 93%)
CMYKcmyk(12.2%, 63%, 0%, 6.7%)
CIE-LABlab(58.70, 68.31, -54.37)
CIE-LCHlch(58.70, 87.31, 321.48°)
OKLaboklab(67.34% 0.177 -0.1519)
OKLCHoklch(67.34% 0.233 319.4)
XYZxyz(45.2149, 26.7098, 83.6462)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158EE #75EE58
analogous
#8658EE #D158EE #EE58C0
triadic
#D158EE #EED158 #58EED1
tetradic
#D158EE #EE8658 #75EE58 #58C0EE
square
#D158EE #EE8658 #75EE58 #58C0EE
split-complementary
#D158EE #C0EE58 #58EE86
monochromatic
#9913B9 #C220E8 #D158EE #E090F4 #F0C7F9

Accessibility & contrast

On white

3.31
#D158EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#D158EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158EE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158EE#FFFFFF#000000##000000
##D158EE1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#D1729C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d158ee;
/* rgb */ color: rgb(209, 88, 238);
/* oklch */ color: oklch(67.3% 0.233 319.4);
Tailwind
colors: {
  custom: {
    50: '#e38ff4',
    500: '#d158ee',
    950: '#000000',
  },
}
SCSS
$custom: #d158ee;
$custom-light: #e38ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d158ee",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 288.4,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67344,
    "c": 0.23328,
    "h": 319.4
  },
  "luminance": 0.26708
}

Semantic roles & 50–950 ramp

primary
#D158EE
secondary
#C1EBB7
accent
#DE0831
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D158EE

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

Preview Lab → · Contrast checker → · Palette generator →

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