#EC5EE2#EC5EE2

#EC5EE2 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.9% C 0.229 H 330.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#EC5EE2
RGBrgb(236, 94, 226)
HSLhsl(304, 79%, 65%)
HSVhsv(304, 60%, 93%)
CMYKcmyk(0%, 60.2%, 4.2%, 7.5%)
CIE-LABlab(62.79, 70.18, -40.97)
CIE-LCHlch(62.79, 81.26, 329.73°)
OKLaboklab(70.88% 0.1991 -0.1125)
OKLCHoklch(70.88% 0.229 330.5)
XYZxyz(52.3220, 31.3329, 75.2288)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EE2 #5EEC68
analogous
#AF5EEC #EC5EE2 #EC5E9B
triadic
#EC5EE2 #E2EC5E #5EE2EC
tetradic
#EC5EE2 #ECAF5E #5EEC68 #5E9BEC
square
#EC5EE2 #ECAF5E #5EEC68 #5E9BEC
split-complementary
#EC5EE2 #9BEC5E #5EECAF
monochromatic
#BA16AE #E627D8 #EC5EE2 #F295EC #F9CBF6

Accessibility & contrast

On white

2.89
#EC5EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#EC5EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5EE2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EE2#FFFFFF#000000##000000
##EC5EE21.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE6
Deuteranopia (green-blind)
#849FDE
Tritanopia (blue-blind)
#F46C98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ee2;
/* rgb */ color: rgb(236, 94, 226);
/* oklch */ color: oklch(70.9% 0.229 330.5);
Tailwind
colors: {
  custom: {
    50: '#f594eb',
    500: '#ec5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ee2;
$custom-light: #f594eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ee2",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 304.225,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.22868,
    "h": 330.5
  },
  "luminance": 0.31329
}

Semantic roles & 50–950 ramp

primary
#EC5EE2
secondary
#BBEBBE
accent
#DB190A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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