#D158E6#D158E6

#D158E6 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.9% C 0.226 H 321.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D158E6
RGBrgb(209, 88, 230)
HSLhsl(291, 74%, 62%)
HSVhsv(291, 62%, 90%)
CMYKcmyk(9.1%, 61.7%, 0%, 9.8%)
CIE-LABlab(58.27, 66.84, -50.58)
CIE-LCHlch(58.27, 83.82, 322.88°)
OKLaboklab(66.89% 0.1769 -0.1409)
OKLCHoklch(66.89% 0.226 321.5)
XYZxyz(44.0656, 26.2501, 77.5933)
Luminance0.2625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158E6 #6DE658
analogous
#8A58E6 #D158E6 #E658B4
triadic
#D158E6 #E6D158 #58E6D1
tetradic
#D158E6 #E68A58 #6DE658 #58B4E6
square
#D158E6 #E68A58 #6DE658 #58B4E6
split-complementary
#D158E6 #B4E658 #58E68A
monochromatic
#9519AA #C223DE #D158E6 #E08DEE #EEC2F6

Accessibility & contrast

On white

3.36
#D158E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D158E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158E6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158E6#FFFFFF#000000##000000
##D158E61.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3783EA
Deuteranopia (green-blind)
#6891E2
Tritanopia (blue-blind)
#D36F97
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d158e6;
/* rgb */ color: rgb(209, 88, 230);
/* oklch */ color: oklch(66.9% 0.226 321.5);
Tailwind
colors: {
  custom: {
    50: '#e28eee',
    500: '#d158e6',
    950: '#000000',
  },
}
SCSS
$custom: #d158e6;
$custom-light: #e28eee;
$custom-dark: #000000;
JSON
{
  "hex": "#d158e6",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 291.127,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66893,
    "c": 0.22617,
    "h": 321.5
  },
  "luminance": 0.26248
}

Semantic roles & 50–950 ramp

primary
#D158E6
secondary
#BBE7B3
accent
#D60F2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D158E6

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

Preview Lab → · Contrast checker → · Palette generator →

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