#EC5CE9#EC5CE9

#EC5CE9 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.0% C 0.237 H 328.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#EC5CE9
RGBrgb(236, 92, 233)
HSLhsl(301, 79%, 64%)
HSVhsv(301, 61%, 93%)
CMYKcmyk(0%, 61%, 1.3%, 7.5%)
CIE-LABlab(62.82, 72.12, -44.82)
CIE-LCHlch(62.82, 84.91, 328.14°)
OKLaboklab(71.01% 0.2021 -0.1235)
OKLCHoklch(71.01% 0.237 328.6)
XYZxyz(53.1266, 31.3739, 80.3326)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE9 #5CEC5F
analogous
#A75CEC #EC5CE9 #EC5CA1
triadic
#EC5CE9 #E9EC5C #5CE9EC
tetradic
#EC5CE9 #ECA75C #5CEC5F #5CA1EC
square
#EC5CE9 #ECA75C #5CEC5F #5CA1EC
split-complementary
#EC5CE9 #A1EC5C #5CECA7
monochromatic
#B815B5 #E625E2 #EC5CE9 #F293F0 #F9CAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5CE9#FFFFFF#000000##000000
##EC5CE91.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)
#4D8CED
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#F36D9B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ce9;
/* rgb */ color: rgb(236, 92, 233);
/* oklch */ color: oklch(71.0% 0.237 328.6);
Tailwind
colors: {
  custom: {
    50: '#f593f0',
    500: '#ec5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce9;
$custom-light: #f593f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce9",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 301.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7101,
    "c": 0.23683,
    "h": 328.6
  },
  "luminance": 0.3137
}

Semantic roles & 50–950 ramp

primary
#EC5CE9
secondary
#B9EBBA
accent
#DB0E0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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