#EC56DF#EC56DF

#EC56DF is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.9% C 0.237 H 331.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#EC56DF
RGBrgb(236, 86, 223)
HSLhsl(305, 80%, 63%)
HSVhsv(305, 64%, 93%)
CMYKcmyk(0%, 63.6%, 5.5%, 7.5%)
CIE-LABlab(61.50, 72.89, -41.31)
CIE-LCHlch(61.50, 83.78, 330.46°)
OKLaboklab(69.9% 0.208 -0.1134)
OKLCHoklch(69.9% 0.237 331.4)
XYZxyz(51.2390, 29.8200, 72.8548)
Luminance0.2982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56DF #56EC63
analogous
#AE56EC #EC56DF #EC5694
triadic
#EC56DF #DFEC56 #56DFEC
tetradic
#EC56DF #ECAE56 #56EC63 #5694EC
square
#EC56DF #ECAE56 #56EC63 #5694EC
split-complementary
#EC56DF #94EC56 #56ECAE
monochromatic
#B314A6 #E61FD5 #EC56DF #F28DE9 #F8C4F4

Accessibility & contrast

On white

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

On black

6.96
#EC56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56DF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56DF#FFFFFF#000000##000000
##EC56DF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#819CDB
Tritanopia (blue-blind)
#F56593
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec56df;
/* rgb */ color: rgb(236, 86, 223);
/* oklch */ color: oklch(69.9% 0.237 331.4);
Tailwind
colors: {
  custom: {
    50: '#f690e9',
    500: '#ec56df',
    950: '#000000',
  },
}
SCSS
$custom: #ec56df;
$custom-light: #f690e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56df",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 305.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69895,
    "c": 0.23689,
    "h": 331.4
  },
  "luminance": 0.29816
}

Semantic roles & 50–950 ramp

primary
#EC56DF
secondary
#B4EAB9
accent
#DC1C09
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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