#EC5CE2#EC5CE2

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

Color values

HEX#EC5CE2
RGBrgb(236, 92, 226)
HSLhsl(304, 79%, 64%)
HSVhsv(304, 61%, 93%)
CMYKcmyk(0%, 61%, 4.2%, 7.5%)
CIE-LABlab(62.49, 70.99, -41.43)
CIE-LCHlch(62.49, 82.20, 329.73°)
OKLaboklab(70.66% 0.2015 -0.1138)
OKLCHoklch(70.66% 0.231 330.5)
XYZxyz(52.1464, 30.9818, 75.1703)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE2 #5CEC66
analogous
#AE5CEC #EC5CE2 #EC5C9A
triadic
#EC5CE2 #E2EC5C #5CE2EC
tetradic
#EC5CE2 #ECAE5C #5CEC66 #5C9AEC
square
#EC5CE2 #ECAE5C #5CEC66 #5C9AEC
split-complementary
#EC5CE2 #9AEC5C #5CECAE
monochromatic
#B815AD #E625D8 #EC5CE2 #F293EC #F9CAF6

Accessibility & contrast

On white

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

On black

7.20
#EC5CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CE2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CE2#FFFFFF#000000##000000
##EC5CE21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#839EDE
Tritanopia (blue-blind)
#F56B97
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ce2;
/* rgb */ color: rgb(236, 92, 226);
/* oklch */ color: oklch(70.7% 0.231 330.5);
Tailwind
colors: {
  custom: {
    50: '#f593eb',
    500: '#ec5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce2;
$custom-light: #f593eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce2",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 304.167,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70662,
    "c": 0.23136,
    "h": 330.5
  },
  "luminance": 0.30978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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