#E158D9#E158D9

#E158D9 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.3% C 0.224 H 330.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#E158D9
RGBrgb(225, 88, 217)
HSLhsl(304, 70%, 61%)
HSVhsv(304, 61%, 88%)
CMYKcmyk(0%, 60.9%, 3.6%, 11.8%)
CIE-LABlab(59.89, 68.46, -40.58)
CIE-LCHlch(59.89, 79.59, 329.35°)
OKLaboklab(68.31% 0.1937 -0.1115)
OKLCHoklch(68.31% 0.224 330.1)
XYZxyz(47.0651, 28.0000, 68.5578)
Luminance0.2800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E158D9 #58E160
analogous
#A558E1 #E158D9 #E15895
triadic
#E158D9 #D9E158 #58D9E1
tetradic
#E158D9 #E1A558 #58E160 #5895E1
square
#E158D9 #E1A558 #58E160 #5895E1
split-complementary
#E158D9 #95E158 #58E1A5
monochromatic
#A21D9A #D526CB #E158D9 #EA8CE5 #F4C0F1

Accessibility & contrast

On white

3.18
#E158D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#E158D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E158D9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E158D9#FFFFFF#000000##000000
##E158D91.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DD
Deuteranopia (green-blind)
#7C97D5
Tritanopia (blue-blind)
#E96691
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e158d9;
/* rgb */ color: rgb(225, 88, 217);
/* oklch */ color: oklch(68.3% 0.224 330.1);
Tailwind
colors: {
  custom: {
    50: '#ee8fe5',
    500: '#e158d9',
    950: '#000000',
  },
}
SCSS
$custom: #e158d9;
$custom-light: #ee8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#e158d9",
  "rgb": {
    "r": 225,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 303.504,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68313,
    "c": 0.22351,
    "h": 330.1
  },
  "luminance": 0.27997
}

Semantic roles & 50–950 ramp

primary
#E158D9
secondary
#B1E4B4
accent
#D21F14
background
#FFF9FE
surface
#FEF2FC
border
#D6CCD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E158D9

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

Preview Lab → · Contrast checker → · Palette generator →

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