#EC5BD4#EC5BD4

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

Color values

HEX#EC5BD4
RGBrgb(236, 91, 212)
HSLhsl(310, 79%, 64%)
HSVhsv(310, 61%, 93%)
CMYKcmyk(0%, 61.4%, 10.2%, 7.5%)
CIE-LABlab(61.72, 69.22, -34.78)
CIE-LCHlch(61.72, 77.47, 333.32°)
OKLaboklab(69.89% 0.201 -0.0947)
OKLCHoklch(69.89% 0.222 334.8)
XYZxyz(50.2172, 30.0725, 65.4343)
Luminance0.3007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5BD4 #5BEC73
analogous
#BC5BEC #EC5BD4 #EC5B8C
triadic
#EC5BD4 #D4EC5B #5BD4EC
tetradic
#EC5BD4 #ECBC5B #5BEC73 #5B8CEC
square
#EC5BD4 #ECBC5B #5BEC73 #5B8CEC
split-complementary
#EC5BD4 #8CEC5B #5BECBC
monochromatic
#B7159D #E624C6 #EC5BD4 #F292E2 #F9C9F1

Accessibility & contrast

On white

2.99
#EC5BD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5BD4#FFFFFF#000000##000000
##EC5BD41.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D8
Deuteranopia (green-blind)
#889DD0
Tritanopia (blue-blind)
#F7658F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5bd4;
/* rgb */ color: rgb(236, 91, 212);
/* oklch */ color: oklch(69.9% 0.222 334.8);
Tailwind
colors: {
  custom: {
    50: '#f592e1',
    500: '#ec5bd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5bd4;
$custom-light: #f592e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5bd4",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 309.931,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69892,
    "c": 0.22218,
    "h": 334.8
  },
  "luminance": 0.30069
}

Semantic roles & 50–950 ramp

primary
#EC5BD4
secondary
#B8EBC0
accent
#DC2D0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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