#EC5ED5#EC5ED5

#EC5ED5 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.3% C 0.219 H 334.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#EC5ED5
RGBrgb(236, 94, 213)
HSLhsl(310, 79%, 65%)
HSVhsv(310, 60%, 93%)
CMYKcmyk(0%, 60.2%, 9.7%, 7.5%)
CIE-LABlab(62.21, 68.15, -34.58)
CIE-LCHlch(62.21, 76.42, 333.09°)
OKLaboklab(70.27% 0.1975 -0.0942)
OKLCHoklch(70.27% 0.219 334.5)
XYZxyz(50.6053, 30.6463, 66.1879)
Luminance0.3064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5ED5 #5EEC75
analogous
#BC5EEC #EC5ED5 #EC5E8E
triadic
#EC5ED5 #D5EC5E #5ED5EC
tetradic
#EC5ED5 #ECBC5E #5EEC75 #5E8EEC
square
#EC5ED5 #ECBC5E #5EEC75 #5E8EEC
split-complementary
#EC5ED5 #8EEC5E #5EECBC
monochromatic
#BA169F #E627C7 #EC5ED5 #F295E3 #F9CBF2

Accessibility & contrast

On white

2.95
#EC5ED5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#EC5ED5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5ED5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5ED5#FFFFFF#000000##000000
##EC5ED51.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D89D9
Deuteranopia (green-blind)
#8A9ED1
Tritanopia (blue-blind)
#F66791
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5ed5;
/* rgb */ color: rgb(236, 94, 213);
/* oklch */ color: oklch(70.3% 0.219 334.5);
Tailwind
colors: {
  custom: {
    50: '#f594e2',
    500: '#ec5ed5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ed5;
$custom-light: #f594e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ed5",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 309.718,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70265,
    "c": 0.21882,
    "h": 334.5
  },
  "luminance": 0.30642
}

Semantic roles & 50–950 ramp

primary
#EC5ED5
secondary
#BBEBC2
accent
#DB2C0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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