#E254CD#E254CD

#E254CD is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.220 H 334.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#E254CD
RGBrgb(226, 84, 205)
HSLhsl(309, 71%, 61%)
HSVhsv(309, 63%, 89%)
CMYKcmyk(0%, 62.8%, 9.3%, 11.4%)
CIE-LABlab(58.90, 68.44, -35.32)
CIE-LCHlch(58.90, 77.02, 332.70°)
OKLaboklab(67.44% 0.1981 -0.0964)
OKLCHoklch(67.44% 0.22 334.1)
XYZxyz(45.5541, 26.9208, 60.5427)
Luminance0.2692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254CD #54E269
analogous
#B054E2 #E254CD #E25486
triadic
#E254CD #CDE254 #54CDE2
tetradic
#E254CD #E2B054 #54E269 #5486E2
square
#E254CD #E2B054 #54E269 #5486E2
split-complementary
#E254CD #86E254 #54E2B0
monochromatic
#A01B8D #D524BB #E254CD #EB88DC #F4BDEC

Accessibility & contrast

On white

3.29
#E254CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#E254CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254CD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254CD#FFFFFF#000000##000000
##E254CD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D1
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#EC5E89
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e254cd;
/* rgb */ color: rgb(226, 84, 205);
/* oklch */ color: oklch(67.4% 0.220 334.1);
Tailwind
colors: {
  custom: {
    50: '#ee8ddc',
    500: '#e254cd',
    950: '#000000',
  },
}
SCSS
$custom: #e254cd;
$custom-light: #ee8ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#e254cd",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 308.873,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67443,
    "c": 0.22031,
    "h": 334.1
  },
  "luminance": 0.26917
}

Semantic roles & 50–950 ramp

primary
#E254CD
secondary
#AEE4B6
accent
#D32F12
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E254CD

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

Preview Lab → · Contrast checker → · Palette generator →

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