#EC5BD5#EC5BD5

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

Color values

HEX#EC5BD5
RGBrgb(236, 91, 213)
HSLhsl(310, 79%, 64%)
HSVhsv(310, 61%, 93%)
CMYKcmyk(0%, 61.4%, 9.7%, 7.5%)
CIE-LABlab(61.76, 69.38, -35.28)
CIE-LCHlch(61.76, 77.83, 333.05°)
OKLaboklab(69.94% 0.2011 -0.0961)
OKLCHoklch(69.94% 0.223 334.5)
XYZxyz(50.3437, 30.1231, 66.1007)
Luminance0.3012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5BD5 #5BEC72
analogous
#BB5BEC #EC5BD5 #EC5B8D
triadic
#EC5BD5 #D5EC5B #5BD5EC
tetradic
#EC5BD5 #ECBB5B #5BEC72 #5B8DEC
square
#EC5BD5 #ECBB5B #5BEC72 #5B8DEC
split-complementary
#EC5BD5 #8DEC5B #5BECBB
monochromatic
#B7159E #E624C7 #EC5BD5 #F292E3 #F9C9F1

Accessibility & contrast

On white

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

On black

7.02
#EC5BD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5BD5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5BD5#FFFFFF#000000##000000
##EC5BD51.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A88D9
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#F76590
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5bd5;
/* rgb */ color: rgb(236, 91, 213);
/* oklch */ color: oklch(69.9% 0.223 334.5);
Tailwind
colors: {
  custom: {
    50: '#f592e2',
    500: '#ec5bd5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5bd5;
$custom-light: #f592e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5bd5",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 309.517,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69938,
    "c": 0.22292,
    "h": 334.5
  },
  "luminance": 0.30119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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