#D158E9#D158E9

#D158E9 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.229 H 320.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D158E9
RGBrgb(209, 88, 233)
HSLhsl(290, 77%, 63%)
HSVhsv(290, 62%, 91%)
CMYKcmyk(10.3%, 62.2%, 0%, 8.6%)
CIE-LABlab(58.43, 67.39, -52.01)
CIE-LCHlch(58.43, 85.12, 322.34°)
OKLaboklab(67.06% 0.177 -0.145)
OKLCHoklch(67.06% 0.229 320.7)
XYZxyz(44.4905, 26.4201, 79.8311)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158E9 #70E958
analogous
#8858E9 #D158E9 #E958B8
triadic
#D158E9 #E9D158 #58E9D1
tetradic
#D158E9 #E98858 #70E958 #58B8E9
square
#D158E9 #E98858 #70E958 #58B8E9
split-complementary
#D158E9 #B8E958 #58E988
monochromatic
#9617AF #C222E2 #D158E9 #E08EF0 #EFC4F7

Accessibility & contrast

On white

3.34
#D158E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D158E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158E9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158E9#FFFFFF#000000##000000
##D158E91.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#D27099
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d158e9;
/* rgb */ color: rgb(209, 88, 233);
/* oklch */ color: oklch(67.1% 0.229 320.7);
Tailwind
colors: {
  custom: {
    50: '#e28ef0',
    500: '#d158e9',
    950: '#000000',
  },
}
SCSS
$custom: #d158e9;
$custom-light: #e28ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#d158e9",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 290.069,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.22883,
    "h": 320.7
  },
  "luminance": 0.26418
}

Semantic roles & 50–950 ramp

primary
#D158E9
secondary
#BDE8B4
accent
#D90D2E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D158E9

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

Preview Lab → · Contrast checker → · Palette generator →

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