#EC56E8#EC56E8

#EC56E8 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.3% C 0.244 H 328.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#EC56E8
RGBrgb(236, 86, 232)
HSLhsl(302, 80%, 63%)
HSVhsv(302, 64%, 93%)
CMYKcmyk(0%, 63.6%, 1.7%, 7.5%)
CIE-LABlab(61.93, 74.31, -45.67)
CIE-LCHlch(61.93, 87.22, 328.42°)
OKLaboklab(70.35% 0.2087 -0.126)
OKLCHoklch(70.35% 0.244 328.9)
XYZxyz(52.4848, 30.3183, 79.4159)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56E8 #56EC5A
analogous
#A556EC #EC56E8 #EC569D
triadic
#EC56E8 #E8EC56 #56E8EC
tetradic
#EC56E8 #ECA556 #56EC5A #569DEC
square
#EC56E8 #ECA556 #56EC5A #569DEC
split-complementary
#EC56E8 #9DEC56 #56ECA5
monochromatic
#B314AF #E61FE1 #EC56E8 #F28DEF #F8C4F7

Accessibility & contrast

On white

2.97
#EC56E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#EC56E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC56E8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56E8#FFFFFF#000000##000000
##EC56E81.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EC
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#F46998
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec56e8;
/* rgb */ color: rgb(236, 86, 232);
/* oklch */ color: oklch(70.3% 0.244 328.9);
Tailwind
colors: {
  custom: {
    50: '#f690f0',
    500: '#ec56e8',
    950: '#000000',
  },
}
SCSS
$custom: #ec56e8;
$custom-light: #f690f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56e8",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 301.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.70345,
    "c": 0.24374,
    "h": 328.9
  },
  "luminance": 0.30315
}

Semantic roles & 50–950 ramp

primary
#EC56E8
secondary
#B4EAB5
accent
#DC0F09
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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