#E158D2#E158D2

#E158D2 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.0% C 0.218 H 332.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#E158D2
RGBrgb(225, 88, 210)
HSLhsl(307, 70%, 61%)
HSVhsv(307, 61%, 88%)
CMYKcmyk(0%, 60.9%, 6.7%, 11.8%)
CIE-LABlab(59.57, 67.34, -37.13)
CIE-LCHlch(59.57, 76.90, 331.13°)
OKLaboklab(67.97% 0.193 -0.1016)
OKLCHoklch(67.97% 0.218 332.2)
XYZxyz(46.1739, 27.6436, 63.8641)
Luminance0.2764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E158D2 #58E167
analogous
#AC58E1 #E158D2 #E1588E
triadic
#E158D2 #D2E158 #58D2E1
tetradic
#E158D2 #E1AC58 #58E167 #588EE1
square
#E158D2 #E1AC58 #58E167 #588EE1
split-complementary
#E158D2 #8EE158 #58E1AC
monochromatic
#A21D93 #D526C2 #E158D2 #EA8CE0 #F4C0EE

Accessibility & contrast

On white

3.22
#E158D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#E158D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E158D2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E158D2#FFFFFF#000000##000000
##E158D21.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D6
Deuteranopia (green-blind)
#7F96CE
Tritanopia (blue-blind)
#EA648D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e158d2;
/* rgb */ color: rgb(225, 88, 210);
/* oklch */ color: oklch(68.0% 0.218 332.2);
Tailwind
colors: {
  custom: {
    50: '#ee8fe0',
    500: '#e158d2',
    950: '#000000',
  },
}
SCSS
$custom: #e158d2;
$custom-light: #ee8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#e158d2",
  "rgb": {
    "r": 225,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 306.569,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.21808,
    "h": 332.2
  },
  "luminance": 0.2764
}

Semantic roles & 50–950 ramp

primary
#E158D2
secondary
#B1E4B6
accent
#D22914
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E158D2

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

Preview Lab → · Contrast checker → · Palette generator →

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