#EC57EA#EC57EA

#EC57EA is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.5% C 0.244 H 328.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#EC57EA
RGBrgb(236, 87, 234)
HSLhsl(301, 80%, 63%)
HSVhsv(301, 63%, 93%)
CMYKcmyk(0%, 63.1%, 0.8%, 7.5%)
CIE-LABlab(62.16, 74.25, -46.42)
CIE-LCHlch(62.16, 87.56, 327.99°)
OKLaboklab(70.55% 0.2077 -0.1281)
OKLCHoklch(70.55% 0.244 328.3)
XYZxyz(52.8509, 30.5934, 80.9474)
Luminance0.3059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57EA #57EC59
analogous
#A357EC #EC57EA #EC57A0
triadic
#EC57EA #EAEC57 #57EAEC
tetradic
#EC57EA #ECA357 #57EC59 #57A0EC
square
#EC57EA #ECA357 #57EC59 #57A0EC
split-complementary
#EC57EA #A0EC57 #57ECA3
monochromatic
#B414B2 #E620E3 #EC57EA #F28EF1 #F8C5F8

Accessibility & contrast

On white

2.95
#EC57EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#EC57EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC57EA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57EA#FFFFFF#000000##000000
##EC57EA1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEE
Deuteranopia (green-blind)
#7C9DE6
Tritanopia (blue-blind)
#F36A99
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec57ea;
/* rgb */ color: rgb(236, 87, 234);
/* oklch */ color: oklch(70.5% 0.244 328.3);
Tailwind
colors: {
  custom: {
    50: '#f690f1',
    500: '#ec57ea',
    950: '#000000',
  },
}
SCSS
$custom: #ec57ea;
$custom-light: #f690f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57ea",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 300.805,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70547,
    "c": 0.24403,
    "h": 328.3
  },
  "luminance": 0.3059
}

Semantic roles & 50–950 ramp

primary
#EC57EA
secondary
#B5EAB6
accent
#DC0C0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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