#EC5CE8#EC5CE8

#EC5CE8 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 71.0% C 0.236 H 328.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#EC5CE8
RGBrgb(236, 92, 232)
HSLhsl(302, 79%, 64%)
HSVhsv(302, 61%, 93%)
CMYKcmyk(0%, 61%, 1.7%, 7.5%)
CIE-LABlab(62.77, 71.96, -44.34)
CIE-LCHlch(62.77, 84.52, 328.36°)
OKLaboklab(70.96% 0.202 -0.1222)
OKLCHoklch(70.96% 0.236 328.8)
XYZxyz(52.9841, 31.3169, 79.5824)
Luminance0.3131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE8 #5CEC60
analogous
#A85CEC #EC5CE8 #EC5CA0
triadic
#EC5CE8 #E8EC5C #5CE8EC
tetradic
#EC5CE8 #ECA85C #5CEC60 #5CA0EC
square
#EC5CE8 #ECA85C #5CEC60 #5CA0EC
split-complementary
#EC5CE8 #A0EC5C #5CECA8
monochromatic
#B815B4 #E625E0 #EC5CE8 #F293F0 #F9CAF7

Accessibility & contrast

On white

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

On black

7.26
#EC5CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CE8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CE8#FFFFFF#000000##000000
##EC5CE81.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEC
Deuteranopia (green-blind)
#809FE4
Tritanopia (blue-blind)
#F46D9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ce8;
/* rgb */ color: rgb(236, 92, 232);
/* oklch */ color: oklch(71.0% 0.236 328.8);
Tailwind
colors: {
  custom: {
    50: '#f593f0',
    500: '#ec5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce8;
$custom-light: #f593f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce8",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 301.667,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70959,
    "c": 0.23604,
    "h": 328.8
  },
  "luminance": 0.31313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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