#EC5CEA#EC5CEA

#EC5CEA is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.1% C 0.238 H 328.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#EC5CEA
RGBrgb(236, 92, 234)
HSLhsl(301, 79%, 64%)
HSVhsv(301, 61%, 93%)
CMYKcmyk(0%, 61%, 0.8%, 7.5%)
CIE-LABlab(62.87, 72.28, -45.30)
CIE-LCHlch(62.87, 85.31, 327.92°)
OKLaboklab(71.06% 0.2021 -0.1249)
OKLCHoklch(71.06% 0.238 328.3)
XYZxyz(53.2698, 31.4312, 81.0870)
Luminance0.3143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CEA #5CEC5E
analogous
#A65CEC #EC5CEA #EC5CA2
triadic
#EC5CEA #EAEC5C #5CEAEC
tetradic
#EC5CEA #ECA65C #5CEC5E #5CA2EC
square
#EC5CEA #ECA65C #5CEC5E #5CA2EC
split-complementary
#EC5CEA #A2EC5C #5CECA6
monochromatic
#B815B6 #E625E3 #EC5CEA #F293F1 #F9CAF8

Accessibility & contrast

On white

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

On black

7.29
#EC5CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CEA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CEA#FFFFFF#000000##000000
##EC5CEA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEE
Deuteranopia (green-blind)
#7F9FE6
Tritanopia (blue-blind)
#F36E9B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5cea;
/* rgb */ color: rgb(236, 92, 234);
/* oklch */ color: oklch(71.1% 0.238 328.3);
Tailwind
colors: {
  custom: {
    50: '#f693f1',
    500: '#ec5cea',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cea;
$custom-light: #f693f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cea",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 300.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7106,
    "c": 0.23763,
    "h": 328.3
  },
  "luminance": 0.31428
}

Semantic roles & 50–950 ramp

primary
#EC5CEA
secondary
#B9EBBA
accent
#DB0D0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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