#E254CF#E254CF

#E254CF is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.222 H 333.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#E254CF
RGBrgb(226, 84, 207)
HSLhsl(308, 71%, 61%)
HSVhsv(308, 63%, 89%)
CMYKcmyk(0%, 62.8%, 8.4%, 11.4%)
CIE-LABlab(58.99, 68.75, -36.32)
CIE-LCHlch(58.99, 77.75, 332.15°)
OKLaboklab(67.54% 0.1984 -0.0992)
OKLCHoklch(67.54% 0.222 333.4)
XYZxyz(45.7970, 27.0180, 61.8223)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254CF #54E267
analogous
#AE54E2 #E254CF #E25488
triadic
#E254CF #CFE254 #54CFE2
tetradic
#E254CF #E2AE54 #54E267 #5488E2
square
#E254CF #E2AE54 #54E267 #5488E2
split-complementary
#E254CF #88E254 #54E2AE
monochromatic
#A01B8F #D524BD #E254CF #EB88DE #F4BDEC

Accessibility & contrast

On white

3.28
#E254CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#E254CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254CF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254CF#FFFFFF#000000##000000
##E254CF1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D3
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#EC5F8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e254cf;
/* rgb */ color: rgb(226, 84, 207);
/* oklch */ color: oklch(67.5% 0.222 333.4);
Tailwind
colors: {
  custom: {
    50: '#ee8dde',
    500: '#e254cf',
    950: '#000000',
  },
}
SCSS
$custom: #e254cf;
$custom-light: #ee8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#e254cf",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 308.028,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67538,
    "c": 0.22179,
    "h": 333.4
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

primary
#E254CF
secondary
#AEE4B5
accent
#D32C12
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E254CF

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

Preview Lab → · Contrast checker → · Palette generator →

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