#EC5CE6#EC5CE6

#EC5CE6 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.9% C 0.234 H 329.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#EC5CE6
RGBrgb(236, 92, 230)
HSLhsl(303, 79%, 64%)
HSVhsv(303, 61%, 93%)
CMYKcmyk(0%, 61%, 2.5%, 7.5%)
CIE-LABlab(62.68, 71.63, -43.37)
CIE-LCHlch(62.68, 83.74, 328.81°)
OKLaboklab(70.86% 0.2018 -0.1194)
OKLCHoklch(70.86% 0.234 329.4)
XYZxyz(52.7017, 31.2040, 78.0947)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE6 #5CEC62
analogous
#AA5CEC #EC5CE6 #EC5C9E
triadic
#EC5CE6 #E6EC5C #5CE6EC
tetradic
#EC5CE6 #ECAA5C #5CEC62 #5C9EEC
square
#EC5CE6 #ECAA5C #5CEC62 #5C9EEC
split-complementary
#EC5CE6 #9EEC5C #5CECAA
monochromatic
#B815B1 #E625DE #EC5CE6 #F293EE #F9CAF7

Accessibility & contrast

On white

2.90
#EC5CE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#EC5CE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CE6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CE6#FFFFFF#000000##000000
##EC5CE61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8BEA
Deuteranopia (green-blind)
#819FE2
Tritanopia (blue-blind)
#F46C99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ce6;
/* rgb */ color: rgb(236, 92, 230);
/* oklch */ color: oklch(70.9% 0.234 329.4);
Tailwind
colors: {
  custom: {
    50: '#f593ee',
    500: '#ec5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce6;
$custom-light: #f593ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce6",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 302.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.23447,
    "h": 329.4
  },
  "luminance": 0.312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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