#EC5AD5#EC5AD5

#EC5AD5 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.8% C 0.224 H 334.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#EC5AD5
RGBrgb(236, 90, 213)
HSLhsl(309, 79%, 64%)
HSVhsv(309, 62%, 93%)
CMYKcmyk(0%, 61.9%, 9.7%, 7.5%)
CIE-LABlab(61.61, 69.78, -35.51)
CIE-LCHlch(61.61, 78.29, 333.03°)
OKLaboklab(69.83% 0.2023 -0.0968)
OKLCHoklch(69.83% 0.224 334.4)
XYZxyz(50.2588, 29.9533, 66.0724)
Luminance0.2995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AD5 #5AEC71
analogous
#BA5AEC #EC5AD5 #EC5A8C
triadic
#EC5AD5 #D5EC5A #5AD5EC
tetradic
#EC5AD5 #ECBA5A #5AEC71 #5A8CEC
square
#EC5AD5 #ECBA5A #5AEC71 #5A8CEC
split-complementary
#EC5AD5 #8CEC5A #5AECBA
monochromatic
#B7159D #E623C7 #EC5AD5 #F291E3 #F9C8F1

Accessibility & contrast

On white

3.00
#EC5AD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#EC5AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AD5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AD5#FFFFFF#000000##000000
##EC5AD51.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987D9
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#F76490
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5ad5;
/* rgb */ color: rgb(236, 90, 213);
/* oklch */ color: oklch(69.8% 0.224 334.4);
Tailwind
colors: {
  custom: {
    50: '#f591e2',
    500: '#ec5ad5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ad5;
$custom-light: #f591e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ad5",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 213
  },
  "hsl": {
    "h": 309.452,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69831,
    "c": 0.22426,
    "h": 334.4
  },
  "luminance": 0.29949
}

Semantic roles & 50–950 ramp

primary
#EC5AD5
secondary
#B7EBBF
accent
#DC2B0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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