#E251E8#E251E8

#E251E8 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.5% C 0.245 H 326.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#E251E8
RGBrgb(226, 81, 232)
HSLhsl(298, 77%, 61%)
HSVhsv(298, 65%, 91%)
CMYKcmyk(2.6%, 65.1%, 0%, 9%)
CIE-LABlab(59.78, 73.92, -49.16)
CIE-LCHlch(59.78, 88.77, 326.37°)
OKLaboklab(68.51% 0.2035 -0.1363)
OKLCHoklch(68.51% 0.245 326.2)
XYZxyz(48.8710, 27.8829, 79.1361)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251E8 #57E851
analogous
#9751E8 #E251E8 #E851A3
triadic
#E251E8 #E8E251 #51E8E2
tetradic
#E251E8 #E89751 #57E851 #51A3E8
square
#E251E8 #E89751 #57E851 #51A3E8
split-complementary
#E251E8 #A3E851 #51E897
monochromatic
#A316A8 #D71DDE #E251E8 #EB87EF #F4BDF6

Accessibility & contrast

On white

3.19
#E251E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#E251E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251E8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251E8#FFFFFF#000000##000000
##E251E81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#7196E4
Tritanopia (blue-blind)
#E86796
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e251e8;
/* rgb */ color: rgb(226, 81, 232);
/* oklch */ color: oklch(68.5% 0.245 326.2);
Tailwind
colors: {
  custom: {
    50: '#ef8cf0',
    500: '#e251e8',
    950: '#000000',
  },
}
SCSS
$custom: #e251e8;
$custom-light: #ef8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#e251e8",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 297.616,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68505,
    "c": 0.24488,
    "h": 326.2
  },
  "luminance": 0.2788
}

Semantic roles & 50–950 ramp

primary
#E251E8
secondary
#B0E7AE
accent
#D90D15
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E251E8

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

Preview Lab → · Contrast checker → · Palette generator →

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