#EC57DB#EC57DB

#EC57DB is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.8% C 0.233 H 332.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#EC57DB
RGBrgb(236, 87, 219)
HSLhsl(307, 80%, 63%)
HSVhsv(307, 63%, 93%)
CMYKcmyk(0%, 63.1%, 7.2%, 7.5%)
CIE-LABlab(61.45, 71.88, -39.14)
CIE-LCHlch(61.45, 81.85, 331.43°)
OKLaboklab(69.8% 0.2065 -0.1071)
OKLCHoklch(69.8% 0.233 332.6)
XYZxyz(50.7865, 29.7676, 70.0750)
Luminance0.2976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57DB #57EC68
analogous
#B357EC #EC57DB #EC5790
triadic
#EC57DB #DBEC57 #57DBEC
tetradic
#EC57DB #ECB357 #57EC68 #5790EC
square
#EC57DB #ECB357 #57EC68 #5790EC
split-complementary
#EC57DB #90EC57 #57ECB3
monochromatic
#B414A2 #E620CF #EC57DB #F28EE7 #F8C5F3

Accessibility & contrast

On white

3.02
#EC57DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#EC57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57DB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57DB#FFFFFF#000000##000000
##EC57DB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187DF
Deuteranopia (green-blind)
#839CD7
Tritanopia (blue-blind)
#F66491
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec57db;
/* rgb */ color: rgb(236, 87, 219);
/* oklch */ color: oklch(69.8% 0.233 332.6);
Tailwind
colors: {
  custom: {
    50: '#f690e6',
    500: '#ec57db',
    950: '#000000',
  },
}
SCSS
$custom: #ec57db;
$custom-light: #f690e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57db",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 306.846,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69802,
    "c": 0.23263,
    "h": 332.6
  },
  "luminance": 0.29764
}

Semantic roles & 50–950 ramp

primary
#EC57DB
secondary
#B5EABB
accent
#DC220A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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