#E254E4#E254E4

#E254E4 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.6% C 0.238 H 327.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#E254E4
RGBrgb(226, 84, 228)
HSLhsl(299, 73%, 61%)
HSVhsv(299, 63%, 89%)
CMYKcmyk(0.9%, 63.2%, 0%, 10.6%)
CIE-LABlab(59.99, 72.10, -46.59)
CIE-LCHlch(59.99, 85.84, 327.13°)
OKLaboklab(68.59% 0.2001 -0.1288)
OKLCHoklch(68.59% 0.238 327.2)
XYZxyz(48.5372, 28.1140, 76.2538)
Luminance0.2811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254E4 #56E454
analogous
#9A54E4 #E254E4 #E4549E
triadic
#E254E4 #E4E254 #54E4E2
tetradic
#E254E4 #E49A54 #56E454 #549EE4
square
#E254E4 #E49A54 #56E454 #549EE4
split-complementary
#E254E4 #9EE454 #54E49A
monochromatic
#A21AA4 #D622D9 #E254E4 #EB89EC #F4BEF5

Accessibility & contrast

On white

3.17
#E254E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#E254E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254E4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254E4#FFFFFF#000000##000000
##E254E41.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E8
Deuteranopia (green-blind)
#7597E0
Tritanopia (blue-blind)
#E86895
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e254e4;
/* rgb */ color: rgb(226, 84, 228);
/* oklch */ color: oklch(68.6% 0.238 327.2);
Tailwind
colors: {
  custom: {
    50: '#ef8eed',
    500: '#e254e4',
    950: '#000000',
  },
}
SCSS
$custom: #e254e4;
$custom-light: #ef8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#e254e4",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 299.167,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6859,
    "c": 0.23798,
    "h": 327.2
  },
  "luminance": 0.28111
}

Semantic roles & 50–950 ramp

primary
#E254E4
secondary
#B0E5AF
accent
#D51113
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E254E4

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

Preview Lab → · Contrast checker → · Palette generator →

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