#EC5EE5#EC5EE5

#EC5EE5 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.0% C 0.231 H 329.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#EC5EE5
RGBrgb(236, 94, 229)
HSLhsl(303, 79%, 65%)
HSVhsv(303, 60%, 93%)
CMYKcmyk(0%, 60.2%, 3%, 7.5%)
CIE-LABlab(62.93, 70.66, -42.43)
CIE-LCHlch(62.93, 82.42, 329.02°)
OKLaboklab(71.02% 0.1994 -0.1167)
OKLCHoklch(71.02% 0.231 329.7)
XYZxyz(52.7372, 31.4990, 77.4158)
Luminance0.3150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EE5 #5EEC65
analogous
#AC5EEC #EC5EE5 #EC5E9E
triadic
#EC5EE5 #E5EC5E #5EE5EC
tetradic
#EC5EE5 #ECAC5E #5EEC65 #5E9EEC
square
#EC5EE5 #ECAC5E #5EEC65 #5E9EEC
split-complementary
#EC5EE5 #9EEC5E #5EECAC
monochromatic
#BA16B2 #E627DC #EC5EE5 #F295EE #F9CBF7

Accessibility & contrast

On white

2.88
#EC5EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#EC5EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5EE5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EE5#FFFFFF#000000##000000
##EC5EE51.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#839FE1
Tritanopia (blue-blind)
#F46D99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ee5;
/* rgb */ color: rgb(236, 94, 229);
/* oklch */ color: oklch(71.0% 0.231 329.7);
Tailwind
colors: {
  custom: {
    50: '#f594ed',
    500: '#ec5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ee5;
$custom-light: #f594ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ee5",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 302.958,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71024,
    "c": 0.23102,
    "h": 329.7
  },
  "luminance": 0.31495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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