#EC56ED#EC56ED

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

Color values

HEX#EC56ED
RGBrgb(236, 86, 237)
HSLhsl(300, 81%, 63%)
HSVhsv(300, 64%, 93%)
CMYKcmyk(0.4%, 63.7%, 0%, 7.1%)
CIE-LABlab(62.17, 75.12, -48.07)
CIE-LCHlch(62.17, 89.18, 327.38°)
OKLaboklab(70.6% 0.2089 -0.1329)
OKLCHoklch(70.6% 0.248 327.5)
XYZxyz(53.2051, 30.6064, 83.2096)
Luminance0.3060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56ED #57ED56
analogous
#A156ED #EC56ED #ED56A2
triadic
#EC56ED #EDEC56 #56EDEC
tetradic
#EC56ED #EDA156 #57ED56 #56A2ED
square
#EC56ED #EDA156 #57ED56 #56A2ED
split-complementary
#EC56ED #A2ED56 #56EDA1
monochromatic
#B413B5 #E61FE7 #EC56ED #F28DF3 #F8C5F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC56ED#FFFFFF#000000##000000
##EC56ED1.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)
#418AF1
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#F36B9B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec56ed;
/* rgb */ color: rgb(236, 86, 237);
/* oklch */ color: oklch(70.6% 0.248 327.5);
Tailwind
colors: {
  custom: {
    50: '#f690f3',
    500: '#ec56ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec56ed;
$custom-light: #f690f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56ed",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 299.603,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70603,
    "c": 0.24762,
    "h": 327.5
  },
  "luminance": 0.30603
}

Semantic roles & 50–950 ramp

primary
#EC56ED
secondary
#B5EAB4
accent
#DD080A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D17
muted
#867E85

Preview Lab

Preview with #EC56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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