#E158CD#E158CD

#E158CD is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.7% C 0.214 H 333.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#E158CD
RGBrgb(225, 88, 205)
HSLhsl(309, 70%, 61%)
HSVhsv(309, 61%, 88%)
CMYKcmyk(0%, 60.9%, 8.9%, 11.8%)
CIE-LABlab(59.34, 66.56, -34.65)
CIE-LCHlch(59.34, 75.04, 332.50°)
OKLaboklab(67.74% 0.1923 -0.0945)
OKLCHoklch(67.74% 0.214 333.8)
XYZxyz(45.5607, 27.3983, 60.6345)
Luminance0.2740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E158CD #58E16C
analogous
#B158E1 #E158CD #E15889
triadic
#E158CD #CDE158 #58CDE1
tetradic
#E158CD #E1B158 #58E16C #5889E1
square
#E158CD #E1B158 #58E16C #5889E1
split-complementary
#E158CD #89E158 #58E1B1
monochromatic
#A21D8E #D526BC #E158CD #EA8CDD #F4C0EC

Accessibility & contrast

On white

3.24
#E158CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#E158CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E158CD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E158CD#FFFFFF#000000##000000
##E158CD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D1
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#EB628B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e158cd;
/* rgb */ color: rgb(225, 88, 205);
/* oklch */ color: oklch(67.7% 0.214 333.8);
Tailwind
colors: {
  custom: {
    50: '#ee8fdc',
    500: '#e158cd',
    950: '#000000',
  },
}
SCSS
$custom: #e158cd;
$custom-light: #ee8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#e158cd",
  "rgb": {
    "r": 225,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 308.759,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.2143,
    "h": 333.8
  },
  "luminance": 0.27395
}

Semantic roles & 50–950 ramp

primary
#E158CD
secondary
#B1E4B8
accent
#D23014
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E158CD

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

Preview Lab → · Contrast checker → · Palette generator →

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