#D158E1#D158E1

#D158E1 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.222 H 322.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D158E1
RGBrgb(209, 88, 225)
HSLhsl(293, 70%, 61%)
HSVhsv(293, 61%, 88%)
CMYKcmyk(7.1%, 60.9%, 0%, 11.8%)
CIE-LABlab(58.01, 65.93, -48.19)
CIE-LCHlch(58.01, 81.67, 323.83°)
OKLaboklab(66.62% 0.1768 -0.1339)
OKLCHoklch(66.62% 0.222 322.9)
XYZxyz(43.3735, 25.9733, 73.9483)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158E1 #68E158
analogous
#8D58E1 #D158E1 #E158AD
triadic
#D158E1 #E1D158 #58E1D1
tetradic
#D158E1 #E18D58 #68E158 #58ADE1
square
#D158E1 #E18D58 #68E158 #58ADE1
split-complementary
#D158E1 #ADE158 #58E18D
monochromatic
#921DA2 #C126D5 #D158E1 #DF8CEA #EEC0F4

Accessibility & contrast

On white

3.39
#D158E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D158E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158E1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158E1#FFFFFF#000000##000000
##D158E11.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C82E5
Deuteranopia (green-blind)
#6B90DD
Tritanopia (blue-blind)
#D46D95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d158e1;
/* rgb */ color: rgb(209, 88, 225);
/* oklch */ color: oklch(66.6% 0.222 322.9);
Tailwind
colors: {
  custom: {
    50: '#e28eeb',
    500: '#d158e1',
    950: '#000000',
  },
}
SCSS
$custom: #d158e1;
$custom-light: #e28eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d158e1",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 292.993,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66619,
    "c": 0.22178,
    "h": 322.9
  },
  "luminance": 0.25971
}

Semantic roles & 50–950 ramp

primary
#D158E1
secondary
#B7E4B1
accent
#D2142A
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D158E1

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

Preview Lab → · Contrast checker → · Palette generator →

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