#EC5BD6#EC5BD6

#EC5BD6 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.0% C 0.224 H 334.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#EC5BD6
RGBrgb(236, 91, 214)
HSLhsl(309, 79%, 64%)
HSVhsv(309, 61%, 93%)
CMYKcmyk(0%, 61.4%, 9.3%, 7.5%)
CIE-LABlab(61.80, 69.53, -35.77)
CIE-LCHlch(61.80, 78.19, 332.77°)
OKLaboklab(69.98% 0.2013 -0.0975)
OKLCHoklch(69.98% 0.224 334.1)
XYZxyz(50.4710, 30.1740, 66.7712)
Luminance0.3017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5BD6 #5BEC71
analogous
#B95BEC #EC5BD6 #EC5B8E
triadic
#EC5BD6 #D6EC5B #5BD6EC
tetradic
#EC5BD6 #ECB95B #5BEC71 #5B8EEC
square
#EC5BD6 #ECB95B #5BEC71 #5B8EEC
split-complementary
#EC5BD6 #8EEC5B #5BECB9
monochromatic
#B7159F #E624C8 #EC5BD6 #F292E4 #F9C9F1

Accessibility & contrast

On white

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

On black

7.03
#EC5BD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5BD6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5BD6#FFFFFF#000000##000000
##EC5BD61.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5988DA
Deuteranopia (green-blind)
#889DD2
Tritanopia (blue-blind)
#F66590
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5bd6;
/* rgb */ color: rgb(236, 91, 214);
/* oklch */ color: oklch(70.0% 0.224 334.1);
Tailwind
colors: {
  custom: {
    50: '#f592e3',
    500: '#ec5bd6',
    950: '#000000',
  },
}
SCSS
$custom: #ec5bd6;
$custom-light: #f592e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5bd6",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 309.103,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.22365,
    "h": 334.1
  },
  "luminance": 0.3017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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