#E151F2#E151F2

#E151F2 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.9% C 0.252 H 323.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#E151F2
RGBrgb(225, 81, 242)
HSLhsl(294, 86%, 63%)
HSVhsv(294, 67%, 95%)
CMYKcmyk(7%, 66.5%, 0%, 5.1%)
CIE-LABlab(60.16, 75.38, -54.14)
CIE-LCHlch(60.16, 92.81, 324.32°)
OKLaboklab(68.92% 0.2025 -0.1508)
OKLCHoklch(68.92% 0.252 323.3)
XYZxyz(50.0193, 28.3061, 86.8162)
Luminance0.2830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151F2 #62F251
analogous
#9151F2 #E151F2 #F251B2
triadic
#E151F2 #F2E151 #51F2E1
tetradic
#E151F2 #F29151 #62F251 #51B2F2
square
#E151F2 #F29151 #62F251 #51B2F2
split-complementary
#E151F2 #B2F251 #51F291
monochromatic
#A80EBB #D718EE #E151F2 #EB8AF6 #F5C3FB

Accessibility & contrast

On white

3.15
#E151F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#E151F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E151F2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E151F2#FFFFFF#000000##000000
##E151F21.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F7
Deuteranopia (green-blind)
#6A97EE
Tritanopia (blue-blind)
#E56C9C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e151f2;
/* rgb */ color: rgb(225, 81, 242);
/* oklch */ color: oklch(68.9% 0.252 323.3);
Tailwind
colors: {
  custom: {
    50: '#ee8df7',
    500: '#e151f2',
    950: '#000000',
  },
}
SCSS
$custom: #e151f2;
$custom-light: #ee8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#e151f2",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 293.665,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68921,
    "c": 0.25246,
    "h": 323.3
  },
  "luminance": 0.28303
}

Semantic roles & 50–950 ramp

primary
#E151F2
secondary
#B9ECB3
accent
#E3031B
background
#FFF9FF
surface
#FEF1FF
border
#D6CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #E151F2

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

Preview Lab → · Contrast checker → · Palette generator →

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