#EC5AD7#EC5AD7

#EC5AD7 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.9% C 0.226 H 333.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#EC5AD7
RGBrgb(236, 90, 215)
HSLhsl(309, 79%, 64%)
HSVhsv(309, 62%, 93%)
CMYKcmyk(0%, 61.9%, 8.9%, 7.5%)
CIE-LABlab(61.70, 70.08, -36.50)
CIE-LCHlch(61.70, 79.02, 332.49°)
OKLaboklab(69.92% 0.2026 -0.0996)
OKLCHoklch(69.92% 0.226 333.8)
XYZxyz(50.5142, 30.0554, 67.4176)
Luminance0.3005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AD7 #5AEC6F
analogous
#B85AEC #EC5AD7 #EC5A8E
triadic
#EC5AD7 #D7EC5A #5AD7EC
tetradic
#EC5AD7 #ECB85A #5AEC6F #5A8EEC
square
#EC5AD7 #ECB85A #5AEC6F #5A8EEC
split-complementary
#EC5AD7 #8EEC5A #5AECB8
monochromatic
#B7159F #E623CA #EC5AD7 #F291E4 #F9C8F2

Accessibility & contrast

On white

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

On black

7.01
#EC5AD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5AD7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AD7#FFFFFF#000000##000000
##EC5AD71.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DB
Deuteranopia (green-blind)
#879DD3
Tritanopia (blue-blind)
#F66591
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5ad7;
/* rgb */ color: rgb(236, 90, 215);
/* oklch */ color: oklch(69.9% 0.226 333.8);
Tailwind
colors: {
  custom: {
    50: '#f591e3',
    500: '#ec5ad7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ad7;
$custom-light: #f591e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ad7",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 215
  },
  "hsl": {
    "h": 308.63,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69924,
    "c": 0.22573,
    "h": 333.8
  },
  "luminance": 0.30051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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