#EC5BD9#EC5BD9

#EC5BD9 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.1% C 0.226 H 333.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#EC5BD9
RGBrgb(236, 91, 217)
HSLhsl(308, 79%, 64%)
HSVhsv(308, 61%, 93%)
CMYKcmyk(0%, 61.4%, 8.1%, 7.5%)
CIE-LABlab(61.94, 69.99, -37.25)
CIE-LCHlch(61.94, 79.29, 331.97°)
OKLaboklab(70.12% 0.2016 -0.1018)
OKLCHoklch(70.12% 0.226 333.2)
XYZxyz(50.8577, 30.3287, 68.8076)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5BD9 #5BEC6E
analogous
#B75BEC #EC5BD9 #EC5B91
triadic
#EC5BD9 #D9EC5B #5BD9EC
tetradic
#EC5BD9 #ECB75B #5BEC6E #5B91EC
square
#EC5BD9 #ECB75B #5BEC6E #5B91EC
split-complementary
#EC5BD9 #91EC5B #5BECB7
monochromatic
#B715A2 #E624CC #EC5BD9 #F292E6 #F9C9F2

Accessibility & contrast

On white

2.97
#EC5BD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#EC5BD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5BD9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5BD9#FFFFFF#000000##000000
##EC5BD91.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DD
Deuteranopia (green-blind)
#869DD5
Tritanopia (blue-blind)
#F66692
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5bd9;
/* rgb */ color: rgb(236, 91, 217);
/* oklch */ color: oklch(70.1% 0.226 333.2);
Tailwind
colors: {
  custom: {
    50: '#f592e5',
    500: '#ec5bd9',
    950: '#000000',
  },
}
SCSS
$custom: #ec5bd9;
$custom-light: #f592e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5bd9",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 307.862,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.70124,
    "c": 0.22587,
    "h": 333.2
  },
  "luminance": 0.30325
}

Semantic roles & 50–950 ramp

primary
#EC5BD9
secondary
#B8EBBF
accent
#DC250A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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