#EC5AE5#EC5AE5

#EC5AE5 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.6% C 0.236 H 329.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#EC5AE5
RGBrgb(236, 90, 229)
HSLhsl(303, 79%, 64%)
HSVhsv(303, 62%, 93%)
CMYKcmyk(0%, 61.9%, 3%, 7.5%)
CIE-LABlab(62.34, 72.27, -43.34)
CIE-LCHlch(62.34, 84.27, 329.05°)
OKLaboklab(70.6% 0.204 -0.1193)
OKLCHoklch(70.6% 0.236 329.7)
XYZxyz(52.3907, 30.8060, 77.3003)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AE5 #5AEC61
analogous
#AA5AEC #EC5AE5 #EC5A9C
triadic
#EC5AE5 #E5EC5A #5AE5EC
tetradic
#EC5AE5 #ECAA5A #5AEC61 #5A9CEC
square
#EC5AE5 #ECAA5A #5AEC61 #5A9CEC
split-complementary
#EC5AE5 #9CEC5A #5AECAA
monochromatic
#B715AF #E623DC #EC5AE5 #F291EE #F9C8F6

Accessibility & contrast

On white

2.93
#EC5AE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#EC5AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5AE5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AE5#FFFFFF#000000##000000
##EC5AE51.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#809EE1
Tritanopia (blue-blind)
#F46A98
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ae5;
/* rgb */ color: rgb(236, 90, 229);
/* oklch */ color: oklch(70.6% 0.236 329.7);
Tailwind
colors: {
  custom: {
    50: '#f692ed',
    500: '#ec5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ae5;
$custom-light: #f692ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ae5",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 302.877,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.706,
    "c": 0.23632,
    "h": 329.7
  },
  "luminance": 0.30802
}

Semantic roles & 50–950 ramp

primary
#EC5AE5
secondary
#B7EBBA
accent
#DC140A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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