#EC5CE1#EC5CE1

#EC5CE1 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.6% C 0.231 H 330.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#EC5CE1
RGBrgb(236, 92, 225)
HSLhsl(305, 79%, 64%)
HSVhsv(305, 61%, 93%)
CMYKcmyk(0%, 61%, 4.7%, 7.5%)
CIE-LABlab(62.45, 70.83, -40.94)
CIE-LCHlch(62.45, 81.82, 329.97°)
OKLaboklab(70.61% 0.2014 -0.1124)
OKLCHoklch(70.61% 0.231 330.8)
XYZxyz(52.0096, 30.9271, 74.4498)
Luminance0.3092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE1 #5CEC67
analogous
#AF5CEC #EC5CE1 #EC5C99
triadic
#EC5CE1 #E1EC5C #5CE1EC
tetradic
#EC5CE1 #ECAF5C #5CEC67 #5C99EC
square
#EC5CE1 #ECAF5C #5CEC67 #5C99EC
split-complementary
#EC5CE1 #99EC5C #5CECAF
monochromatic
#B815AC #E625D7 #EC5CE1 #F293EB #F9CAF5

Accessibility & contrast

On white

2.92
#EC5CE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#EC5CE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CE1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CE1#FFFFFF#000000##000000
##EC5CE11.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538AE5
Deuteranopia (green-blind)
#839EDD
Tritanopia (blue-blind)
#F56A96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ce1;
/* rgb */ color: rgb(236, 92, 225);
/* oklch */ color: oklch(70.6% 0.231 330.8);
Tailwind
colors: {
  custom: {
    50: '#f593eb',
    500: '#ec5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce1;
$custom-light: #f593eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce1",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 304.583,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70614,
    "c": 0.23059,
    "h": 330.8
  },
  "luminance": 0.30923
}

Semantic roles & 50–950 ramp

primary
#EC5CE1
secondary
#B9EBBD
accent
#DB1A0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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