#EC57D7#EC57D7

#EC57D7 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.6% C 0.230 H 333.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#EC57D7
RGBrgb(236, 87, 215)
HSLhsl(308, 80%, 63%)
HSVhsv(308, 63%, 93%)
CMYKcmyk(0%, 63.1%, 8.9%, 7.5%)
CIE-LABlab(61.27, 71.27, -37.17)
CIE-LCHlch(61.27, 80.38, 332.46°)
OKLaboklab(69.61% 0.206 -0.1015)
OKLCHoklch(69.61% 0.23 333.8)
XYZxyz(50.2663, 29.5595, 67.3349)
Luminance0.2956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57D7 #57EC6C
analogous
#B657EC #EC57D7 #EC578C
triadic
#EC57D7 #D7EC57 #57D7EC
tetradic
#EC57D7 #ECB657 #57EC6C #578CEC
square
#EC57D7 #ECB657 #57EC6C #578CEC
split-complementary
#EC57D7 #8CEC57 #57ECB6
monochromatic
#B4149E #E620CA #EC57D7 #F28EE4 #F8C5F1

Accessibility & contrast

On white

3.04
#EC57D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#EC57D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57D7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57D7#FFFFFF#000000##000000
##EC57D71.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DB
Deuteranopia (green-blind)
#859CD3
Tritanopia (blue-blind)
#F6628F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec57d7;
/* rgb */ color: rgb(236, 87, 215);
/* oklch */ color: oklch(69.6% 0.230 333.8);
Tailwind
colors: {
  custom: {
    50: '#f690e3',
    500: '#ec57d7',
    950: '#000000',
  },
}
SCSS
$custom: #ec57d7;
$custom-light: #f690e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57d7",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 308.456,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69611,
    "c": 0.22968,
    "h": 333.8
  },
  "luminance": 0.29556
}

Semantic roles & 50–950 ramp

primary
#EC57D7
secondary
#B5EABC
accent
#DC270A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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