#E157F2#E157F2

#E157F2 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.5% C 0.245 H 323.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#E157F2
RGBrgb(225, 87, 242)
HSLhsl(293, 86%, 65%)
HSVhsv(293, 64%, 95%)
CMYKcmyk(7%, 64%, 0%, 5.1%)
CIE-LABlab(60.99, 73.07, -52.82)
CIE-LCHlch(60.99, 90.17, 324.14°)
OKLaboklab(69.52% 0.1962 -0.147)
OKLCHoklch(69.52% 0.245 323.2)
XYZxyz(50.4850, 29.2376, 86.9714)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E157F2 #68F257
analogous
#9357F2 #E157F2 #F257B6
triadic
#E157F2 #F2E157 #57F2E1
tetradic
#E157F2 #F29357 #68F257 #57B6F2
square
#E157F2 #F29357 #68F257 #57B6F2
split-complementary
#E157F2 #B6F257 #57F293
monochromatic
#AC0FC0 #D71EEE #E157F2 #EB90F6 #F5C9FB

Accessibility & contrast

On white

3.07
#E157F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#E157F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E157F2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E157F2#FFFFFF#000000##000000
##E157F21.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#6E99EE
Tritanopia (blue-blind)
#E4709D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #e157f2;
/* rgb */ color: rgb(225, 87, 242);
/* oklch */ color: oklch(69.5% 0.245 323.2);
Tailwind
colors: {
  custom: {
    50: '#ee90f7',
    500: '#e157f2',
    950: '#000000',
  },
}
SCSS
$custom: #e157f2;
$custom-light: #ee90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e157f2",
  "rgb": {
    "r": 225,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 293.419,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69516,
    "c": 0.24512,
    "h": 323.2
  },
  "luminance": 0.29235
}

Semantic roles & 50–950 ramp

primary
#E157F2
secondary
#BEEDB8
accent
#E2031C
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #E157F2

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

Preview Lab → · Contrast checker → · Palette generator →

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