#EC5CEB#EC5CEB

#EC5CEB is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.1% C 0.238 H 328.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#EC5CEB
RGBrgb(236, 92, 235)
HSLhsl(300, 79%, 64%)
HSVhsv(300, 61%, 93%)
CMYKcmyk(0%, 61%, 0.4%, 7.5%)
CIE-LABlab(62.92, 72.45, -45.78)
CIE-LCHlch(62.92, 85.70, 327.71°)
OKLaboklab(71.11% 0.2022 -0.1263)
OKLCHoklch(71.11% 0.238 328)
XYZxyz(53.4139, 31.4888, 81.8458)
Luminance0.3149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CEB #5CEC5D
analogous
#A55CEC #EC5CEB #EC5CA3
triadic
#EC5CEB #EBEC5C #5CEBEC
tetradic
#EC5CEB #ECA55C #5CEC5D #5CA3EC
square
#EC5CEB #ECA55C #5CEC5D #5CA3EC
split-complementary
#EC5CEB #A3EC5C #5CECA5
monochromatic
#B815B7 #E625E4 #EC5CEB #F293F2 #F9CAF8

Accessibility & contrast

On white

2.88
#EC5CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#EC5CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CEB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CEB#FFFFFF#000000##000000
##EC5CEB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#F36E9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ceb;
/* rgb */ color: rgb(236, 92, 235);
/* oklch */ color: oklch(71.1% 0.238 328.0);
Tailwind
colors: {
  custom: {
    50: '#f693f2',
    500: '#ec5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ceb;
$custom-light: #f693f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ceb",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 300.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.71111,
    "c": 0.23842,
    "h": 328
  },
  "luminance": 0.31485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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