#EC57E2#EC57E2

#EC57E2 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.1% C 0.238 H 330.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#EC57E2
RGBrgb(236, 87, 226)
HSLhsl(304, 80%, 63%)
HSVhsv(304, 63%, 93%)
CMYKcmyk(0%, 63.1%, 4.2%, 7.5%)
CIE-LABlab(61.78, 72.97, -42.55)
CIE-LCHlch(61.78, 84.47, 329.75°)
OKLaboklab(70.14% 0.2071 -0.117)
OKLCHoklch(70.14% 0.238 330.5)
XYZxyz(51.7275, 30.1440, 75.0307)
Luminance0.3014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57E2 #57EC61
analogous
#AB57EC #EC57E2 #EC5797
triadic
#EC57E2 #E2EC57 #57E2EC
tetradic
#EC57E2 #ECAB57 #57EC61 #5797EC
square
#EC57E2 #ECAB57 #57EC61 #5797EC
split-complementary
#EC57E2 #97EC57 #57ECAB
monochromatic
#B414A9 #E620D9 #EC57E2 #F28EEB #F8C5F5

Accessibility & contrast

On white

2.99
#EC57E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#EC57E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC57E2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57E2#FFFFFF#000000##000000
##EC57E21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E6
Deuteranopia (green-blind)
#809DDE
Tritanopia (blue-blind)
#F56795
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec57e2;
/* rgb */ color: rgb(236, 87, 226);
/* oklch */ color: oklch(70.1% 0.238 330.5);
Tailwind
colors: {
  custom: {
    50: '#f690eb',
    500: '#ec57e2',
    950: '#000000',
  },
}
SCSS
$custom: #ec57e2;
$custom-light: #f690eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57e2",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 304.027,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70144,
    "c": 0.23788,
    "h": 330.5
  },
  "luminance": 0.3014
}

Semantic roles & 50–950 ramp

primary
#EC57E2
secondary
#B5EAB8
accent
#DC180A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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