#EC5ED7#EC5ED7

#EC5ED7 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.4% C 0.220 H 333.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#EC5ED7
RGBrgb(236, 94, 215)
HSLhsl(309, 79%, 65%)
HSVhsv(309, 60%, 93%)
CMYKcmyk(0%, 60.2%, 8.9%, 7.5%)
CIE-LABlab(62.29, 68.45, -35.57)
CIE-LCHlch(62.29, 77.14, 332.54°)
OKLaboklab(70.36% 0.1978 -0.097)
OKLCHoklch(70.36% 0.22 333.9)
XYZxyz(50.8607, 30.7485, 67.5331)
Luminance0.3075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5ED7 #5EEC73
analogous
#BA5EEC #EC5ED7 #EC5E90
triadic
#EC5ED7 #D7EC5E #5ED7EC
tetradic
#EC5ED7 #ECBA5E #5EEC73 #5E90EC
square
#EC5ED7 #ECBA5E #5EEC73 #5E90EC
split-complementary
#EC5ED7 #90EC5E #5EECBA
monochromatic
#BA16A1 #E627C9 #EC5ED7 #F295E5 #F9CBF2

Accessibility & contrast

On white

2.94
#EC5ED7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#EC5ED7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5ED7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5ED7#FFFFFF#000000##000000
##EC5ED71.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C89DB
Deuteranopia (green-blind)
#899ED3
Tritanopia (blue-blind)
#F66892
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ed7;
/* rgb */ color: rgb(236, 94, 215);
/* oklch */ color: oklch(70.4% 0.220 333.9);
Tailwind
colors: {
  custom: {
    50: '#f594e3',
    500: '#ec5ed7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ed7;
$custom-light: #f594e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ed7",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 308.873,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70357,
    "c": 0.2203,
    "h": 333.9
  },
  "luminance": 0.30745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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