#EC5CE3#EC5CE3

#EC5CE3 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.7% C 0.232 H 330.3°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#EC5CE3
RGBrgb(236, 92, 227)
HSLhsl(304, 79%, 64%)
HSVhsv(304, 61%, 93%)
CMYKcmyk(0%, 61%, 3.8%, 7.5%)
CIE-LABlab(62.54, 71.15, -41.92)
CIE-LCHlch(62.54, 82.58, 329.50°)
OKLaboklab(70.71% 0.2015 -0.1152)
OKLCHoklch(70.71% 0.232 330.3)
XYZxyz(52.2840, 31.0369, 75.8951)
Luminance0.3103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE3 #5CEC65
analogous
#AD5CEC #EC5CE3 #EC5C9B
triadic
#EC5CE3 #E3EC5C #5CE3EC
tetradic
#EC5CE3 #ECAD5C #5CEC65 #5C9BEC
square
#EC5CE3 #ECAD5C #5CEC65 #5C9BEC
split-complementary
#EC5CE3 #9BEC5C #5CECAD
monochromatic
#B815AE #E625DA #EC5CE3 #F293EC #F9CAF6

Accessibility & contrast

On white

2.91
#EC5CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#EC5CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CE3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CE3#FFFFFF#000000##000000
##EC5CE31.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE7
Deuteranopia (green-blind)
#839EDF
Tritanopia (blue-blind)
#F46B97
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ce3;
/* rgb */ color: rgb(236, 92, 227);
/* oklch */ color: oklch(70.7% 0.232 330.3);
Tailwind
colors: {
  custom: {
    50: '#f593ec',
    500: '#ec5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce3;
$custom-light: #f593ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce3",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 303.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70711,
    "c": 0.23213,
    "h": 330.3
  },
  "luminance": 0.31033
}

Semantic roles & 50–950 ramp

primary
#EC5CE3
secondary
#B9EBBC
accent
#DB170A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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