#EC5FE5#EC5FE5

#EC5FE5 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.1% C 0.230 H 329.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#EC5FE5
RGBrgb(236, 95, 229)
HSLhsl(303, 79%, 65%)
HSVhsv(303, 60%, 93%)
CMYKcmyk(0%, 59.7%, 3%, 7.5%)
CIE-LABlab(63.08, 70.25, -42.19)
CIE-LCHlch(63.08, 81.95, 329.01°)
OKLaboklab(71.13% 0.1982 -0.116)
OKLCHoklch(71.13% 0.23 329.7)
XYZxyz(52.8267, 31.6780, 77.4456)
Luminance0.3167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FE5 #5FEC66
analogous
#AD5FEC #EC5FE5 #EC5F9E
triadic
#EC5FE5 #E5EC5F #5FE5EC
tetradic
#EC5FE5 #ECAD5F #5FEC66 #5F9EEC
square
#EC5FE5 #ECAD5F #5FEC66 #5F9EEC
split-complementary
#EC5FE5 #9EEC5F #5FECAD
monochromatic
#BA16B2 #E628DC #EC5FE5 #F296EE #F9CCF7

Accessibility & contrast

On white

2.86
#EC5FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#EC5FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FE5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FE5#FFFFFF#000000##000000
##EC5FE51.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548CE9
Deuteranopia (green-blind)
#839FE1
Tritanopia (blue-blind)
#F46E9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec5fe5;
/* rgb */ color: rgb(236, 95, 229);
/* oklch */ color: oklch(71.1% 0.230 329.7);
Tailwind
colors: {
  custom: {
    50: '#f594ed',
    500: '#ec5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fe5;
$custom-light: #f594ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fe5",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 302.979,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.71133,
    "c": 0.22967,
    "h": 329.7
  },
  "luminance": 0.31674
}

Semantic roles & 50–950 ramp

primary
#EC5FE5
secondary
#BBEBBE
accent
#DB150A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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