#EC57E0#EC57E0

#EC57E0 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 70.0% C 0.236 H 331.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#EC57E0
RGBrgb(236, 87, 224)
HSLhsl(305, 80%, 63%)
HSVhsv(305, 63%, 93%)
CMYKcmyk(0%, 63.1%, 5.1%, 7.5%)
CIE-LABlab(61.68, 72.66, -41.58)
CIE-LCHlch(61.68, 83.71, 330.22°)
OKLaboklab(70.05% 0.207 -0.1142)
OKLCHoklch(70.05% 0.236 331.1)
XYZxyz(51.4547, 30.0349, 73.5938)
Luminance0.3003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57E0 #57EC63
analogous
#AD57EC #EC57E0 #EC5795
triadic
#EC57E0 #E0EC57 #57E0EC
tetradic
#EC57E0 #ECAD57 #57EC63 #5795EC
square
#EC57E0 #ECAD57 #57EC63 #5795EC
split-complementary
#EC57E0 #95EC57 #57ECAD
monochromatic
#B414A7 #E620D6 #EC57E0 #F28EEA #F8C5F4

Accessibility & contrast

On white

3.00
#EC57E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#EC57E0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC57E0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57E0#FFFFFF#000000##000000
##EC57E01.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E88E4
Deuteranopia (green-blind)
#819CDC
Tritanopia (blue-blind)
#F56694
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec57e0;
/* rgb */ color: rgb(236, 87, 224);
/* oklch */ color: oklch(70.0% 0.236 331.1);
Tailwind
colors: {
  custom: {
    50: '#f690ea',
    500: '#ec57e0',
    950: '#000000',
  },
}
SCSS
$custom: #ec57e0;
$custom-light: #f690ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57e0",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 224
  },
  "hsl": {
    "h": 304.832,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70045,
    "c": 0.23636,
    "h": 331.1
  },
  "luminance": 0.30031
}

Semantic roles & 50–950 ramp

primary
#EC57E0
secondary
#B5EAB9
accent
#DC1A0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC57E0

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

Preview Lab → · Contrast checker → · Palette generator →

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