#EC5EE7#EC5EE7

#EC5EE7 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.1% C 0.233 H 329.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#EC5EE7
RGBrgb(236, 94, 231)
HSLhsl(302, 79%, 65%)
HSVhsv(302, 60%, 93%)
CMYKcmyk(0%, 60.2%, 2.1%, 7.5%)
CIE-LABlab(63.02, 70.98, -43.39)
CIE-LCHlch(63.02, 83.20, 328.56°)
OKLaboklab(71.12% 0.1996 -0.1194)
OKLCHoklch(71.12% 0.233 329.1)
XYZxyz(53.0180, 31.6114, 78.8949)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EE7 #5EEC63
analogous
#AA5EEC #EC5EE7 #EC5EA0
triadic
#EC5EE7 #E7EC5E #5EE7EC
tetradic
#EC5EE7 #ECAA5E #5EEC63 #5EA0EC
square
#EC5EE7 #ECAA5E #5EEC63 #5EA0EC
split-complementary
#EC5EE7 #A0EC5E #5EECAA
monochromatic
#BA16B4 #E627DF #EC5EE7 #F295EF #F9CBF7

Accessibility & contrast

On white

2.87
#EC5EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#EC5EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5EE7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EE7#FFFFFF#000000##000000
##EC5EE71.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEB
Deuteranopia (green-blind)
#829FE3
Tritanopia (blue-blind)
#F46E9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ee7;
/* rgb */ color: rgb(236, 94, 231);
/* oklch */ color: oklch(71.1% 0.233 329.1);
Tailwind
colors: {
  custom: {
    50: '#f594ef',
    500: '#ec5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ee7;
$custom-light: #f594ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ee7",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 302.113,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71123,
    "c": 0.2326,
    "h": 329.1
  },
  "luminance": 0.31608
}

Semantic roles & 50–950 ramp

primary
#EC5EE7
secondary
#BBEBBC
accent
#DB120A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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