#E158D5#E158D5

#E158D5 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.1% C 0.220 H 331.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#E158D5
RGBrgb(225, 88, 213)
HSLhsl(305, 70%, 61%)
HSVhsv(305, 61%, 88%)
CMYKcmyk(0%, 60.9%, 5.3%, 11.8%)
CIE-LABlab(59.70, 67.82, -38.61)
CIE-LCHlch(59.70, 78.04, 330.35°)
OKLaboklab(68.12% 0.1933 -0.1059)
OKLCHoklch(68.12% 0.22 331.3)
XYZxyz(46.5512, 27.7945, 65.8509)
Luminance0.2779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E158D5 #58E164
analogous
#A858E1 #E158D5 #E15891
triadic
#E158D5 #D5E158 #58D5E1
tetradic
#E158D5 #E1A858 #58E164 #5891E1
square
#E158D5 #E1A858 #58E164 #5891E1
split-complementary
#E158D5 #91E158 #58E1A8
monochromatic
#A21D96 #D526C6 #E158D5 #EA8CE2 #F4C0EF

Accessibility & contrast

On white

3.20
#E158D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#E158D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E158D5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E158D5#FFFFFF#000000##000000
##E158D51.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084D9
Deuteranopia (green-blind)
#7E97D1
Tritanopia (blue-blind)
#EA658F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e158d5;
/* rgb */ color: rgb(225, 88, 213);
/* oklch */ color: oklch(68.1% 0.220 331.3);
Tailwind
colors: {
  custom: {
    50: '#ee8fe2',
    500: '#e158d5',
    950: '#000000',
  },
}
SCSS
$custom: #e158d5;
$custom-light: #ee8fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#e158d5",
  "rgb": {
    "r": 225,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 305.255,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68117,
    "c": 0.22038,
    "h": 331.3
  },
  "luminance": 0.27791
}

Semantic roles & 50–950 ramp

primary
#E158D5
secondary
#B1E4B5
accent
#D22514
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E158D5

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

Preview Lab → · Contrast checker → · Palette generator →

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