#EC5EEA#EC5EEA

#EC5EEA is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.3% C 0.235 H 328.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#EC5EEA
RGBrgb(236, 94, 234)
HSLhsl(301, 79%, 65%)
HSVhsv(301, 60%, 93%)
CMYKcmyk(0%, 60.2%, 0.8%, 7.5%)
CIE-LABlab(63.16, 71.48, -44.84)
CIE-LCHlch(63.16, 84.38, 327.90°)
OKLaboklab(71.27% 0.1998 -0.1236)
OKLCHoklch(71.27% 0.235 328.3)
XYZxyz(53.4454, 31.7823, 81.1455)
Luminance0.3178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EEA #5EEC60
analogous
#A75EEC #EC5EEA #EC5EA3
triadic
#EC5EEA #EAEC5E #5EEAEC
tetradic
#EC5EEA #ECA75E #5EEC60 #5EA3EC
square
#EC5EEA #ECA75E #5EEC60 #5EA3EC
split-complementary
#EC5EEA #A3EC5E #5EECA7
monochromatic
#BA16B7 #E627E3 #EC5EEA #F295F1 #F9CBF8

Accessibility & contrast

On white

2.85
#EC5EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#EC5EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5EEA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EEA#FFFFFF#000000##000000
##EC5EEA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#80A0E6
Tritanopia (blue-blind)
#F36F9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec5eea;
/* rgb */ color: rgb(236, 94, 234);
/* oklch */ color: oklch(71.3% 0.235 328.3);
Tailwind
colors: {
  custom: {
    50: '#f594f1',
    500: '#ec5eea',
    950: '#000000',
  },
}
SCSS
$custom: #ec5eea;
$custom-light: #f594f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5eea",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 300.845,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71273,
    "c": 0.23498,
    "h": 328.3
  },
  "luminance": 0.31779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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