#E151E2#E151E2

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

Color values

HEX#E151E2
RGBrgb(225, 81, 226)
HSLhsl(300, 71%, 60%)
HSVhsv(300, 64%, 89%)
CMYKcmyk(0.4%, 64.2%, 0%, 11.4%)
CIE-LABlab(59.33, 72.70, -46.52)
CIE-LCHlch(59.33, 86.31, 327.38°)
OKLaboklab(68.05% 0.2022 -0.1286)
OKLCHoklch(68.05% 0.24 327.5)
XYZxyz(47.7205, 27.3866, 74.7094)
Luminance0.2738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151E2 #52E251
analogous
#9851E2 #E151E2 #E2519B
triadic
#E151E2 #E2E151 #51E2E1
tetradic
#E151E2 #E29851 #52E251 #519BE2
square
#E151E2 #E29851 #52E251 #519BE2
split-complementary
#E151E2 #9BE251 #51E298
monochromatic
#9D1A9E #D123D3 #E151E2 #EA85EB #F3BAF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E151E2#FFFFFF#000000##000000
##E151E21.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)
#3C83E6
Deuteranopia (green-blind)
#7495DE
Tritanopia (blue-blind)
#E86593
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e151e2;
/* rgb */ color: rgb(225, 81, 226);
/* oklch */ color: oklch(68.0% 0.240 327.5);
Tailwind
colors: {
  custom: {
    50: '#ee8ceb',
    500: '#e151e2',
    950: '#000000',
  },
}
SCSS
$custom: #e151e2;
$custom-light: #ee8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#e151e2",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 299.586,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6805,
    "c": 0.23964,
    "h": 327.5
  },
  "luminance": 0.27383
}

Semantic roles & 50–950 ramp

primary
#E151E2
secondary
#ACE3AC
accent
#D31213
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E151E2

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

Preview Lab → · Contrast checker → · Palette generator →

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