#D158E3#D158E3

#D158E3 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.7% C 0.224 H 322.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D158E3
RGBrgb(209, 88, 227)
HSLhsl(292, 71%, 62%)
HSVhsv(292, 61%, 89%)
CMYKcmyk(7.9%, 61.2%, 0%, 11%)
CIE-LABlab(58.12, 66.29, -49.15)
CIE-LCHlch(58.12, 82.52, 323.44°)
OKLaboklab(66.73% 0.1768 -0.1367)
OKLCHoklch(66.73% 0.224 322.3)
XYZxyz(43.6479, 26.0831, 75.3936)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158E3 #6AE358
analogous
#8C58E3 #D158E3 #E358B0
triadic
#D158E3 #E3D158 #58E3D1
tetradic
#D158E3 #E38C58 #6AE358 #58B0E3
square
#D158E3 #E38C58 #6AE358 #58B0E3
split-complementary
#D158E3 #B0E358 #58E38C
monochromatic
#931CA5 #C224D9 #D158E3 #DF8CEC #EEC1F5

Accessibility & contrast

On white

3.38
#D158E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#D158E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158E3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158E3#FFFFFF#000000##000000
##D158E31.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E7
Deuteranopia (green-blind)
#6A90DF
Tritanopia (blue-blind)
#D46D96
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d158e3;
/* rgb */ color: rgb(209, 88, 227);
/* oklch */ color: oklch(66.7% 0.224 322.3);
Tailwind
colors: {
  custom: {
    50: '#e28eec',
    500: '#d158e3',
    950: '#000000',
  },
}
SCSS
$custom: #d158e3;
$custom-light: #e28eec;
$custom-dark: #000000;
JSON
{
  "hex": "#d158e3",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 227
  },
  "hsl": {
    "h": 292.23,
    "s": 71.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66728,
    "c": 0.22353,
    "h": 322.3
  },
  "luminance": 0.26081
}

Semantic roles & 50–950 ramp

primary
#D158E3
secondary
#B8E5B2
accent
#D3122B
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D158E3

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

Preview Lab → · Contrast checker → · Palette generator →

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