#EC59E2#EC59E2

#EC59E2 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.3% C 0.235 H 330.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#EC59E2
RGBrgb(236, 89, 226)
HSLhsl(304, 79%, 64%)
HSVhsv(304, 62%, 93%)
CMYKcmyk(0%, 62.3%, 4.2%, 7.5%)
CIE-LABlab(62.06, 72.19, -42.11)
CIE-LCHlch(62.06, 83.58, 329.74°)
OKLaboklab(70.35% 0.2049 -0.1157)
OKLCHoklch(70.35% 0.235 330.5)
XYZxyz(51.8917, 30.4723, 75.0854)
Luminance0.3047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC59E2 #59EC63
analogous
#AC59EC #EC59E2 #EC5998
triadic
#EC59E2 #E2EC59 #59E2EC
tetradic
#EC59E2 #ECAC59 #59EC63 #5998EC
square
#EC59E2 #ECAC59 #59EC63 #5998EC
split-complementary
#EC59E2 #98EC59 #59ECAC
monochromatic
#B615AB #E622D8 #EC59E2 #F290EC #F9C7F5

Accessibility & contrast

On white

2.96
#EC59E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#EC59E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC59E2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC59E2#FFFFFF#000000##000000
##EC59E21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#819DDE
Tritanopia (blue-blind)
#F56896
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec59e2;
/* rgb */ color: rgb(236, 89, 226);
/* oklch */ color: oklch(70.3% 0.235 330.5);
Tailwind
colors: {
  custom: {
    50: '#f691eb',
    500: '#ec59e2',
    950: '#000000',
  },
}
SCSS
$custom: #ec59e2;
$custom-light: #f691eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec59e2",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 226
  },
  "hsl": {
    "h": 304.082,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70348,
    "c": 0.23531,
    "h": 330.5
  },
  "luminance": 0.30469
}

Semantic roles & 50–950 ramp

primary
#EC59E2
secondary
#B6EABA
accent
#DC180A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC59E2

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

Preview Lab → · Contrast checker → · Palette generator →

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