#EC56EF#EC56EF

#EC56EF is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.7% C 0.249 H 327.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#EC56EF
RGBrgb(236, 86, 239)
HSLhsl(299, 83%, 64%)
HSVhsv(299, 64%, 94%)
CMYKcmyk(1.3%, 64%, 0%, 6.3%)
CIE-LABlab(62.27, 75.44, -49.02)
CIE-LCHlch(62.27, 89.97, 326.98°)
OKLaboklab(70.71% 0.209 -0.1357)
OKLCHoklch(70.71% 0.249 327)
XYZxyz(53.4990, 30.7240, 84.7571)
Luminance0.3072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56EF #59EF56
analogous
#9F56EF #EC56EF #EF56A5
triadic
#EC56EF #EFEC56 #56EFEC
tetradic
#EC56EF #EF9F56 #59EF56 #56A5EF
square
#EC56EF #EF9F56 #59EF56 #56A5EF
split-complementary
#EC56EF #A5EF56 #56EF9F
monochromatic
#B612B9 #E61EEA #EC56EF #F28EF4 #F9C6FA

Accessibility & contrast

On white

2.94
#EC56EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#EC56EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC56EF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56EF#FFFFFF#000000##000000
##EC56EF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#F26B9C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec56ef;
/* rgb */ color: rgb(236, 86, 239);
/* oklch */ color: oklch(70.7% 0.249 327.0);
Tailwind
colors: {
  custom: {
    50: '#f690f5',
    500: '#ec56ef',
    950: '#000000',
  },
}
SCSS
$custom: #ec56ef;
$custom-light: #f690f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56ef",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 298.824,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70708,
    "c": 0.24918,
    "h": 327
  },
  "luminance": 0.3072
}

Semantic roles & 50–950 ramp

primary
#EC56EF
secondary
#B6EBB5
accent
#DF060B
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180D17
muted
#867E85

Preview Lab

Preview with #EC56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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