#E57DEC#E57DEC

#E57DEC is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.3% C 0.187 H 324.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#E57DEC
RGBrgb(229, 125, 236)
HSLhsl(296, 74%, 71%)
HSVhsv(296, 47%, 93%)
CMYKcmyk(3%, 47%, 0%, 7.5%)
CIE-LABlab(67.56, 55.92, -39.11)
CIE-LCHlch(67.56, 68.25, 325.03°)
OKLaboklab(74.35% 0.153 -0.1075)
OKLCHoklch(74.35% 0.187 324.9)
XYZxyz(54.7857, 37.3840, 83.6707)
Luminance0.3738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E57DEC #84EC7D
analogous
#AD7DEC #E57DEC #EC7DBB
triadic
#E57DEC #ECE57D #7DECE5
tetradic
#E57DEC #ECAD7D #84EC7D #7DBBEC
square
#E57DEC #ECAD7D #84EC7D #7DBBEC
split-complementary
#E57DEC #BBEC7D #7DECAD
monochromatic
#C51ED0 #DA48E4 #E57DEC #F0B2F4 #FAE4FB

Accessibility & contrast

On white

2.48
#E57DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#E57DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E57DEC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E57DEC#FFFFFF#000000##000000
##E57DEC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#E98AAA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e57dec;
/* rgb */ color: rgb(229, 125, 236);
/* oklch */ color: oklch(74.3% 0.187 324.9);
Tailwind
colors: {
  custom: {
    50: '#efa6f2',
    500: '#e57dec',
    950: '#000000',
  },
}
SCSS
$custom: #e57dec;
$custom-light: #efa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e57dec",
  "rgb": {
    "r": 229,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 296.216,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74345,
    "c": 0.18697,
    "h": 324.9
  },
  "luminance": 0.37381
}

Semantic roles & 50–950 ramp

primary
#E57DEC
secondary
#D5F1D3
accent
#D70F1B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E57DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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