#EC5AE3#EC5AE3

#EC5AE3 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.5% C 0.235 H 330.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#EC5AE3
RGBrgb(236, 90, 227)
HSLhsl(304, 79%, 64%)
HSVhsv(304, 62%, 93%)
CMYKcmyk(0%, 61.9%, 3.8%, 7.5%)
CIE-LABlab(62.25, 71.95, -42.37)
CIE-LCHlch(62.25, 83.50, 329.51°)
OKLaboklab(70.5% 0.2038 -0.1165)
OKLCHoklch(70.5% 0.235 330.3)
XYZxyz(52.1130, 30.6950, 75.8381)
Luminance0.3069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AE3 #5AEC63
analogous
#AC5AEC #EC5AE3 #EC5A9A
triadic
#EC5AE3 #E3EC5A #5AE3EC
tetradic
#EC5AE3 #ECAC5A #5AEC63 #5A9AEC
square
#EC5AE3 #ECAC5A #5AEC63 #5A9AEC
split-complementary
#EC5AE3 #9AEC5A #5AECAC
monochromatic
#B715AD #E623DA #EC5AE3 #F291EC #F9C8F6

Accessibility & contrast

On white

2.94
#EC5AE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#EC5AE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5AE3
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AE3#FFFFFF#000000##000000
##EC5AE31.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8AE7
Deuteranopia (green-blind)
#819EDF
Tritanopia (blue-blind)
#F46A97
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5ae3;
/* rgb */ color: rgb(236, 90, 227);
/* oklch */ color: oklch(70.5% 0.235 330.3);
Tailwind
colors: {
  custom: {
    50: '#f692ec',
    500: '#ec5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ae3;
$custom-light: #f692ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ae3",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 303.699,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.70501,
    "c": 0.23477,
    "h": 330.3
  },
  "luminance": 0.30691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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