#EC56D7#EC56D7

#EC56D7 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.5% C 0.231 H 333.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#EC56D7
RGBrgb(236, 86, 215)
HSLhsl(308, 80%, 63%)
HSVhsv(308, 64%, 93%)
CMYKcmyk(0%, 63.6%, 8.9%, 7.5%)
CIE-LABlab(61.13, 71.66, -37.39)
CIE-LCHlch(61.13, 80.83, 332.45°)
OKLaboklab(69.51% 0.2072 -0.1021)
OKLCHoklch(69.51% 0.231 333.8)
XYZxyz(50.1859, 29.3987, 67.3081)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56D7 #56EC6B
analogous
#B656EC #EC56D7 #EC568C
triadic
#EC56D7 #D7EC56 #56D7EC
tetradic
#EC56D7 #ECB656 #56EC6B #568CEC
square
#EC56D7 #ECB656 #56EC6B #568CEC
split-complementary
#EC56D7 #8CEC56 #56ECB6
monochromatic
#B3149D #E61FCA #EC56D7 #F28DE4 #F8C4F1

Accessibility & contrast

On white

3.05
#EC56D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#EC56D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56D7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56D7#FFFFFF#000000##000000
##EC56D71.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DB
Deuteranopia (green-blind)
#859BD3
Tritanopia (blue-blind)
#F6628F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec56d7;
/* rgb */ color: rgb(236, 86, 215);
/* oklch */ color: oklch(69.5% 0.231 333.8);
Tailwind
colors: {
  custom: {
    50: '#f68fe3',
    500: '#ec56d7',
    950: '#000000',
  },
}
SCSS
$custom: #ec56d7;
$custom-light: #f68fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56d7",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 308.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69509,
    "c": 0.23098,
    "h": 333.8
  },
  "luminance": 0.29395
}

Semantic roles & 50–950 ramp

primary
#EC56D7
secondary
#B4EABC
accent
#DC2709
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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