#EC5CEC#EC5CEC

#EC5CEC is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.2% C 0.239 H 327.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#EC5CEC
RGBrgb(236, 92, 236)
HSLhsl(300, 79%, 64%)
HSVhsv(300, 61%, 93%)
CMYKcmyk(0%, 61%, 0%, 7.5%)
CIE-LABlab(62.97, 72.61, -46.26)
CIE-LCHlch(62.97, 86.10, 327.50°)
OKLaboklab(71.16% 0.2023 -0.1277)
OKLCHoklch(71.16% 0.239 327.7)
XYZxyz(53.5588, 31.5468, 82.6088)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CEC #5CEC5C
analogous
#A45CEC #EC5CEC #EC5CA4
triadic
#EC5CEC #ECEC5C #5CECEC
tetradic
#EC5CEC #ECA45C #5CEC5C #5CA4EC
square
#EC5CEC #ECA45C #5CEC5C #5CA4EC
split-complementary
#EC5CEC #A4EC5C #5CECA4
monochromatic
#B815B8 #E625E6 #EC5CEC #F293F2 #F9CAF9

Accessibility & contrast

On white

2.87
#EC5CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#EC5CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CEC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CEC#FFFFFF#000000##000000
##EC5CEC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#F36F9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5cec;
/* rgb */ color: rgb(236, 92, 236);
/* oklch */ color: oklch(71.2% 0.239 327.7);
Tailwind
colors: {
  custom: {
    50: '#f693f2',
    500: '#ec5cec',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cec;
$custom-light: #f693f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cec",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.71161,
    "c": 0.23921,
    "h": 327.7
  },
  "luminance": 0.31543
}

Semantic roles & 50–950 ramp

primary
#EC5CEC
secondary
#B9EBB9
accent
#DB0A0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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