#E158D7#E158D7

#E158D7 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.2% C 0.222 H 330.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#E158D7
RGBrgb(225, 88, 215)
HSLhsl(304, 70%, 61%)
HSVhsv(304, 61%, 88%)
CMYKcmyk(0%, 60.9%, 4.4%, 11.8%)
CIE-LABlab(59.80, 68.14, -39.60)
CIE-LCHlch(59.80, 78.81, 329.84°)
OKLaboklab(68.21% 0.1935 -0.1087)
OKLCHoklch(68.21% 0.222 330.7)
XYZxyz(46.8066, 27.8966, 67.1961)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E158D7 #58E162
analogous
#A758E1 #E158D7 #E15893
triadic
#E158D7 #D7E158 #58D7E1
tetradic
#E158D7 #E1A758 #58E162 #5893E1
square
#E158D7 #E1A758 #58E162 #5893E1
split-complementary
#E158D7 #93E158 #58E1A7
monochromatic
#A21D98 #D526C9 #E158D7 #EA8CE3 #F4C0F0

Accessibility & contrast

On white

3.19
#E158D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#E158D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E158D7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E158D7#FFFFFF#000000##000000
##E158D71.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DB
Deuteranopia (green-blind)
#7D97D3
Tritanopia (blue-blind)
#E96690
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e158d7;
/* rgb */ color: rgb(225, 88, 215);
/* oklch */ color: oklch(68.2% 0.222 330.7);
Tailwind
colors: {
  custom: {
    50: '#ee8fe4',
    500: '#e158d7',
    950: '#000000',
  },
}
SCSS
$custom: #e158d7;
$custom-light: #ee8fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#e158d7",
  "rgb": {
    "r": 225,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 304.38,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68214,
    "c": 0.22194,
    "h": 330.7
  },
  "luminance": 0.27893
}

Semantic roles & 50–950 ramp

primary
#E158D7
secondary
#B1E4B5
accent
#D22214
background
#FFF9FD
surface
#FEF2FB
border
#D6CCD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E158D7

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

Preview Lab → · Contrast checker → · Palette generator →

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