#E254DB#E254DB

#E254DB is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.1% C 0.231 H 329.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#E254DB
RGBrgb(226, 84, 219)
HSLhsl(303, 71%, 61%)
HSVhsv(303, 63%, 89%)
CMYKcmyk(0%, 62.8%, 3.1%, 11.4%)
CIE-LABlab(59.55, 70.64, -42.23)
CIE-LCHlch(59.55, 82.29, 329.13°)
OKLaboklab(68.13% 0.1995 -0.1162)
OKLCHoklch(68.13% 0.231 329.8)
XYZxyz(47.3202, 27.6272, 69.8443)
Luminance0.2762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254DB #54E25B
analogous
#A254E2 #E254DB #E25494
triadic
#E254DB #DBE254 #54DBE2
tetradic
#E254DB #E2A254 #54E25B #5494E2
square
#E254DB #E2A254 #54E25B #5494E2
split-complementary
#E254DB #94E254 #54E2A2
monochromatic
#A01B9A #D524CC #E254DB #EB88E6 #F4BDF1

Accessibility & contrast

On white

3.22
#E254DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#E254DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254DB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254DB#FFFFFF#000000##000000
##E254DB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#7A96D7
Tritanopia (blue-blind)
#EA6490
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e254db;
/* rgb */ color: rgb(226, 84, 219);
/* oklch */ color: oklch(68.1% 0.231 329.8);
Tailwind
colors: {
  custom: {
    50: '#ef8de6',
    500: '#e254db',
    950: '#000000',
  },
}
SCSS
$custom: #e254db;
$custom-light: #ef8de6;
$custom-dark: #000000;
JSON
{
  "hex": "#e254db",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 302.958,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.68127,
    "c": 0.2309,
    "h": 329.8
  },
  "luminance": 0.27624
}

Semantic roles & 50–950 ramp

primary
#E254DB
secondary
#AEE4B1
accent
#D31C12
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E254DB

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

Preview Lab → · Contrast checker → · Palette generator →

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