#EC5AE9#EC5AE9

#EC5AE9 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.8% C 0.239 H 328.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#EC5AE9
RGBrgb(236, 90, 233)
HSLhsl(301, 79%, 64%)
HSVhsv(301, 62%, 93%)
CMYKcmyk(0%, 61.9%, 1.3%, 7.5%)
CIE-LABlab(62.53, 72.92, -45.27)
CIE-LCHlch(62.53, 85.83, 328.16°)
OKLaboklab(70.8% 0.2043 -0.1248)
OKLCHoklch(70.8% 0.239 328.6)
XYZxyz(52.9556, 31.0320, 80.2756)
Luminance0.3103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AE9 #5AEC5D
analogous
#A65AEC #EC5AE9 #EC5AA0
triadic
#EC5AE9 #E9EC5A #5AE9EC
tetradic
#EC5AE9 #ECA65A #5AEC5D #5AA0EC
square
#EC5AE9 #ECA65A #5AEC5D #5AA0EC
split-complementary
#EC5AE9 #A0EC5A #5AECA6
monochromatic
#B715B3 #E623E2 #EC5AE9 #F291F0 #F9C8F8

Accessibility & contrast

On white

2.91
#EC5AE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#EC5AE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5AE9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AE9#FFFFFF#000000##000000
##EC5AE91.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#7E9EE5
Tritanopia (blue-blind)
#F36C9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ae9;
/* rgb */ color: rgb(236, 90, 233);
/* oklch */ color: oklch(70.8% 0.239 328.6);
Tailwind
colors: {
  custom: {
    50: '#f692f0',
    500: '#ec5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ae9;
$custom-light: #f692f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ae9",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 301.233,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.70801,
    "c": 0.23943,
    "h": 328.6
  },
  "luminance": 0.31028
}

Semantic roles & 50–950 ramp

primary
#EC5AE9
secondary
#B7EBB8
accent
#DC0E0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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