#EC57D5#EC57D5

#EC57D5 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.5% C 0.228 H 334.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#EC57D5
RGBrgb(236, 87, 213)
HSLhsl(309, 80%, 63%)
HSVhsv(309, 63%, 93%)
CMYKcmyk(0%, 63.1%, 9.7%, 7.5%)
CIE-LABlab(61.18, 70.97, -36.18)
CIE-LCHlch(61.18, 79.66, 332.99°)
OKLaboklab(69.52% 0.2058 -0.0987)
OKLCHoklch(69.52% 0.228 334.4)
XYZxyz(50.0109, 29.4573, 65.9897)
Luminance0.2945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57D5 #57EC6E
analogous
#B857EC #EC57D5 #EC578A
triadic
#EC57D5 #D5EC57 #57D5EC
tetradic
#EC57D5 #ECB857 #57EC6E #578AEC
square
#EC57D5 #ECB857 #57EC6E #578AEC
split-complementary
#EC57D5 #8AEC57 #57ECB8
monochromatic
#B4149C #E620C7 #EC57D5 #F28EE3 #F8C5F0

Accessibility & contrast

On white

3.05
#EC57D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#EC57D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57D5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57D5#FFFFFF#000000##000000
##EC57D51.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586D9
Deuteranopia (green-blind)
#869CD1
Tritanopia (blue-blind)
#F7628E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec57d5;
/* rgb */ color: rgb(236, 87, 213);
/* oklch */ color: oklch(69.5% 0.228 334.4);
Tailwind
colors: {
  custom: {
    50: '#f690e2',
    500: '#ec57d5',
    950: '#000000',
  },
}
SCSS
$custom: #ec57d5;
$custom-light: #f690e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57d5",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 309.262,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69517,
    "c": 0.22823,
    "h": 334.4
  },
  "luminance": 0.29453
}

Semantic roles & 50–950 ramp

primary
#EC57D5
secondary
#B5EABD
accent
#DC2A0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC57D5

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

Preview Lab → · Contrast checker → · Palette generator →

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