#E254DF#E254DF

#E254DF is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.3% C 0.234 H 328.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#E254DF
RGBrgb(226, 84, 223)
HSLhsl(301, 71%, 61%)
HSVhsv(301, 63%, 89%)
CMYKcmyk(0%, 62.8%, 1.3%, 11.4%)
CIE-LABlab(59.74, 71.28, -44.17)
CIE-LCHlch(59.74, 83.86, 328.21°)
OKLaboklab(68.33% 0.1998 -0.1218)
OKLCHoklch(68.33% 0.234 328.6)
XYZxyz(47.8531, 27.8404, 72.6510)
Luminance0.2784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254DF #54E257
analogous
#9E54E2 #E254DF #E25498
triadic
#E254DF #DFE254 #54DFE2
tetradic
#E254DF #E29E54 #54E257 #5498E2
square
#E254DF #E29E54 #54E257 #5498E2
split-complementary
#E254DF #98E254 #54E29E
monochromatic
#A01B9E #D524D1 #E254DF #EB88E9 #F4BDF3

Accessibility & contrast

On white

3.20
#E254DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#E254DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254DF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254DF#FFFFFF#000000##000000
##E254DF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#7897DB
Tritanopia (blue-blind)
#E96692
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e254df;
/* rgb */ color: rgb(226, 84, 223);
/* oklch */ color: oklch(68.3% 0.234 328.6);
Tailwind
colors: {
  custom: {
    50: '#ef8ee9',
    500: '#e254df',
    950: '#000000',
  },
}
SCSS
$custom: #e254df;
$custom-light: #ef8ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#e254df",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 301.268,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.68331,
    "c": 0.23402,
    "h": 328.6
  },
  "luminance": 0.27837
}

Semantic roles & 50–950 ramp

primary
#E254DF
secondary
#AEE4AF
accent
#D31712
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E254DF

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

Preview Lab → · Contrast checker → · Palette generator →

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