#EC56EE#EC56EE

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

Color values

HEX#EC56EE
RGBrgb(236, 86, 238)
HSLhsl(299, 82%, 64%)
HSVhsv(299, 64%, 93%)
CMYKcmyk(0.8%, 63.9%, 0%, 6.7%)
CIE-LABlab(62.22, 75.28, -48.55)
CIE-LCHlch(62.22, 89.58, 327.18°)
OKLaboklab(70.66% 0.209 -0.1343)
OKLCHoklch(70.66% 0.248 327.3)
XYZxyz(53.3516, 30.6650, 83.9812)
Luminance0.3066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56EE #58EE56
analogous
#A056EE #EC56EE #EE56A4
triadic
#EC56EE #EEEC56 #56EEEC
tetradic
#EC56EE #EEA056 #58EE56 #56A4EE
square
#EC56EE #EEA056 #58EE56 #56A4EE
split-complementary
#EC56EE #A4EE56 #56EEA0
monochromatic
#B512B7 #E61EE8 #EC56EE #F28EF4 #F9C5F9

Accessibility & contrast

On white

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

On black

7.13
#EC56EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC56EE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56EE#FFFFFF#000000##000000
##EC56EE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#7A9DEA
Tritanopia (blue-blind)
#F36B9B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec56ee;
/* rgb */ color: rgb(236, 86, 238);
/* oklch */ color: oklch(70.7% 0.248 327.3);
Tailwind
colors: {
  custom: {
    50: '#f690f4',
    500: '#ec56ee',
    950: '#000000',
  },
}
SCSS
$custom: #ec56ee;
$custom-light: #f690f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56ee",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 299.211,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.2484,
    "h": 327.3
  },
  "luminance": 0.30661
}

Semantic roles & 50–950 ramp

primary
#EC56EE
secondary
#B6EBB5
accent
#DE070A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D17
muted
#867E85

Preview Lab

Preview with #EC56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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