#E254E7#E254E7

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

Color values

HEX#E254E7
RGBrgb(226, 84, 231)
HSLhsl(298, 75%, 62%)
HSVhsv(298, 64%, 91%)
CMYKcmyk(2.2%, 63.6%, 0%, 9.4%)
CIE-LABlab(60.14, 72.60, -48.03)
CIE-LCHlch(60.14, 87.05, 326.51°)
OKLaboklab(68.75% 0.2002 -0.133)
OKLCHoklch(68.75% 0.24 326.4)
XYZxyz(48.9572, 28.2820, 78.4662)
Luminance0.2828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254E7 #59E754
analogous
#9954E7 #E254E7 #E754A3
triadic
#E254E7 #E7E254 #54E7E2
tetradic
#E254E7 #E79954 #59E754 #54A3E7
square
#E254E7 #E79954 #59E754 #54A3E7
split-complementary
#E254E7 #A3E754 #54E799
monochromatic
#A418A9 #D81FDF #E254E7 #EB8AEF #F4BFF6

Accessibility & contrast

On white

3.16
#E254E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E254E7#FFFFFF#000000##000000
##E254E71.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EB
Deuteranopia (green-blind)
#7497E3
Tritanopia (blue-blind)
#E86997
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e254e7;
/* rgb */ color: rgb(226, 84, 231);
/* oklch */ color: oklch(68.7% 0.240 326.4);
Tailwind
colors: {
  custom: {
    50: '#ef8eef',
    500: '#e254e7',
    950: '#000000',
  },
}
SCSS
$custom: #e254e7;
$custom-light: #ef8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#e254e7",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 297.959,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68748,
    "c": 0.24037,
    "h": 326.4
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

primary
#E254E7
secondary
#B2E7B0
accent
#D80E15
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E254E7

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

Preview Lab → · Contrast checker → · Palette generator →

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