#EC5EE6#EC5EE6

#EC5EE6 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.1% C 0.232 H 329.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#EC5EE6
RGBrgb(236, 94, 230)
HSLhsl(303, 79%, 65%)
HSVhsv(303, 60%, 93%)
CMYKcmyk(0%, 60.2%, 2.5%, 7.5%)
CIE-LABlab(62.97, 70.82, -42.91)
CIE-LCHlch(62.97, 82.81, 328.79°)
OKLaboklab(71.07% 0.1995 -0.1181)
OKLCHoklch(71.07% 0.232 329.4)
XYZxyz(52.8772, 31.5550, 78.1532)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EE6 #5EEC64
analogous
#AB5EEC #EC5EE6 #EC5E9F
triadic
#EC5EE6 #E6EC5E #5EE6EC
tetradic
#EC5EE6 #ECAB5E #5EEC64 #5E9FEC
square
#EC5EE6 #ECAB5E #5EEC64 #5E9FEC
split-complementary
#EC5EE6 #9FEC5E #5EECAB
monochromatic
#BA16B3 #E627DE #EC5EE6 #F295EF #F9CBF7

Accessibility & contrast

On white

2.87
#EC5EE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#EC5EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5EE6
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EE6#FFFFFF#000000##000000
##EC5EE61.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CEA
Deuteranopia (green-blind)
#829FE2
Tritanopia (blue-blind)
#F46E9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ee6;
/* rgb */ color: rgb(236, 94, 230);
/* oklch */ color: oklch(71.1% 0.232 329.4);
Tailwind
colors: {
  custom: {
    50: '#f594ee',
    500: '#ec5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ee6;
$custom-light: #f594ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ee6",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 302.535,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.23182,
    "h": 329.4
  },
  "luminance": 0.31551
}

Semantic roles & 50–950 ramp

primary
#EC5EE6
secondary
#BBEBBD
accent
#DB130A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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