#E254F2#E254F2

#E254F2 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.3% C 0.249 H 323.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#E254F2
RGBrgb(226, 84, 242)
HSLhsl(294, 86%, 64%)
HSVhsv(294, 65%, 95%)
CMYKcmyk(6.6%, 65.3%, 0%, 5.1%)
CIE-LABlab(60.71, 74.47, -53.26)
CIE-LCHlch(60.71, 91.55, 324.43°)
OKLaboklab(69.35% 0.2005 -0.1482)
OKLCHoklch(69.35% 0.249 323.5)
XYZxyz(50.5599, 28.9231, 86.9068)
Luminance0.2892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254F2 #64F254
analogous
#9354F2 #E254F2 #F254B3
triadic
#E254F2 #F2E254 #54F2E2
tetradic
#E254F2 #F29354 #64F254 #54B3F2
square
#E254F2 #F29354 #64F254 #54B3F2
split-complementary
#E254F2 #B3F254 #54F293
monochromatic
#AC0EBD #D81BEE #E254F2 #EC8DF6 #F5C6FB

Accessibility & contrast

On white

3.10
#E254F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#E254F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254F2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254F2#FFFFFF#000000##000000
##E254F21.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#6D98EE
Tritanopia (blue-blind)
#E66D9C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #e254f2;
/* rgb */ color: rgb(226, 84, 242);
/* oklch */ color: oklch(69.3% 0.249 323.5);
Tailwind
colors: {
  custom: {
    50: '#ef8ef7',
    500: '#e254f2',
    950: '#000000',
  },
}
SCSS
$custom: #e254f2;
$custom-light: #ef8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#e254f2",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 293.924,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69345,
    "c": 0.24929,
    "h": 323.5
  },
  "luminance": 0.2892
}

Semantic roles & 50–950 ramp

primary
#E254F2
secondary
#BBEDB5
accent
#E2031A
background
#FFF9FF
surface
#FEF1FF
border
#D6CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #E254F2

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

Preview Lab → · Contrast checker → · Palette generator →

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