#D158E0#D158E0

#D158E0 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.6% C 0.221 H 323.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D158E0
RGBrgb(209, 88, 224)
HSLhsl(293, 69%, 61%)
HSVhsv(293, 61%, 88%)
CMYKcmyk(6.7%, 60.7%, 0%, 12.2%)
CIE-LABlab(57.96, 65.75, -47.71)
CIE-LCHlch(57.96, 81.24, 324.03°)
OKLaboklab(66.56% 0.1767 -0.1325)
OKLCHoklch(66.56% 0.221 323.1)
XYZxyz(43.2375, 25.9189, 73.2320)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158E0 #67E058
analogous
#8D58E0 #D158E0 #E058AB
triadic
#D158E0 #E0D158 #58E0D1
tetradic
#D158E0 #E08D58 #67E058 #58ABE0
square
#D158E0 #E08D58 #67E058 #58ABE0
split-complementary
#D158E0 #ABE058 #58E08D
monochromatic
#921EA0 #C127D4 #D158E0 #DF8CEA #EDBFF3

Accessibility & contrast

On white

3.40
#D158E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D158E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158E0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158E0#FFFFFF#000000##000000
##D158E01.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D82E4
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#D46C94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d158e0;
/* rgb */ color: rgb(209, 88, 224);
/* oklch */ color: oklch(66.6% 0.221 323.1);
Tailwind
colors: {
  custom: {
    50: '#e28eea',
    500: '#d158e0',
    950: '#000000',
  },
}
SCSS
$custom: #d158e0;
$custom-light: #e28eea;
$custom-dark: #000000;
JSON
{
  "hex": "#d158e0",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 224
  },
  "hsl": {
    "h": 293.382,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.22091,
    "h": 323.1
  },
  "luminance": 0.25917
}

Semantic roles & 50–950 ramp

primary
#D158E0
secondary
#B6E3B0
accent
#D1152A
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D158E0

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

Preview Lab → · Contrast checker → · Palette generator →

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