#E251F2#E251F2

#E251F2 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 69.1% C 0.253 H 323.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#E251F2
RGBrgb(226, 81, 242)
HSLhsl(294, 86%, 63%)
HSVhsv(294, 67%, 95%)
CMYKcmyk(6.6%, 66.5%, 0%, 5.1%)
CIE-LABlab(60.31, 75.60, -53.90)
CIE-LCHlch(60.31, 92.85, 324.51°)
OKLaboklab(69.05% 0.2036 -0.1501)
OKLCHoklch(69.05% 0.253 323.6)
XYZxyz(50.3320, 28.4673, 86.8308)
Luminance0.2846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251F2 #61F251
analogous
#9151F2 #E251F2 #F251B1
triadic
#E251F2 #F2E251 #51F2E2
tetradic
#E251F2 #F29151 #61F251 #51B1F2
square
#E251F2 #F29151 #61F251 #51B1F2
split-complementary
#E251F2 #B1F251 #51F291
monochromatic
#A90EBB #D918EE #E251F2 #EB8AF6 #F5C3FB

Accessibility & contrast

On white

3.14
#E251F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#E251F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251F2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251F2#FFFFFF#000000##000000
##E251F21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#6B97EE
Tritanopia (blue-blind)
#E66B9C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e251f2;
/* rgb */ color: rgb(226, 81, 242);
/* oklch */ color: oklch(69.1% 0.253 323.6);
Tailwind
colors: {
  custom: {
    50: '#ef8df7',
    500: '#e251f2',
    950: '#000000',
  },
}
SCSS
$custom: #e251f2;
$custom-light: #ef8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#e251f2",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 294.037,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69053,
    "c": 0.25291,
    "h": 323.6
  },
  "luminance": 0.28464
}

Semantic roles & 50–950 ramp

primary
#E251F2
secondary
#B8ECB3
accent
#E30319
background
#FFF9FF
surface
#FEF1FF
border
#D6CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #E251F2

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

Preview Lab → · Contrast checker → · Palette generator →

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