#EC5CE5#EC5CE5

#EC5CE5 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.8% C 0.234 H 329.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#EC5CE5
RGBrgb(236, 92, 229)
HSLhsl(303, 79%, 64%)
HSVhsv(303, 61%, 93%)
CMYKcmyk(0%, 61%, 3%, 7.5%)
CIE-LABlab(62.63, 71.47, -42.89)
CIE-LCHlch(62.63, 83.35, 329.03°)
OKLaboklab(70.81% 0.2017 -0.118)
OKLCHoklch(70.81% 0.234 329.7)
XYZxyz(52.5617, 31.1479, 77.3573)
Luminance0.3114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE5 #5CEC63
analogous
#AB5CEC #EC5CE5 #EC5C9D
triadic
#EC5CE5 #E5EC5C #5CE5EC
tetradic
#EC5CE5 #ECAB5C #5CEC63 #5C9DEC
square
#EC5CE5 #ECAB5C #5CEC63 #5C9DEC
split-complementary
#EC5CE5 #9DEC5C #5CECAB
monochromatic
#B815B0 #E625DC #EC5CE5 #F293EE #F9CAF6

Accessibility & contrast

On white

2.91
#EC5CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#EC5CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CE5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CE5#FFFFFF#000000##000000
##EC5CE51.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#829EE1
Tritanopia (blue-blind)
#F46C98
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ce5;
/* rgb */ color: rgb(236, 92, 229);
/* oklch */ color: oklch(70.8% 0.234 329.7);
Tailwind
colors: {
  custom: {
    50: '#f593ed',
    500: '#ec5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce5;
$custom-light: #f593ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce5",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 302.917,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.2337,
    "h": 329.7
  },
  "luminance": 0.31144
}

Semantic roles & 50–950 ramp

primary
#EC5CE5
secondary
#B9EBBB
accent
#DB140A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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