#EC5DE7#EC5DE7

#EC5DE7 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.0% C 0.234 H 329.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#EC5DE7
RGBrgb(236, 93, 231)
HSLhsl(302, 79%, 65%)
HSVhsv(302, 61%, 93%)
CMYKcmyk(0%, 60.6%, 2.1%, 7.5%)
CIE-LABlab(62.87, 71.39, -43.63)
CIE-LCHlch(62.87, 83.67, 328.57°)
OKLaboklab(71.02% 0.2007 -0.1201)
OKLCHoklch(71.02% 0.234 329.1)
XYZxyz(52.9297, 31.4347, 78.8655)
Luminance0.3143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DE7 #5DEC62
analogous
#AA5DEC #EC5DE7 #EC5DA0
triadic
#EC5DE7 #E7EC5D #5DE7EC
tetradic
#EC5DE7 #ECAA5D #5DEC62 #5DA0EC
square
#EC5DE7 #ECAA5D #5DEC62 #5DA0EC
split-complementary
#EC5DE7 #A0EC5D #5DECAA
monochromatic
#B916B3 #E626DF #EC5DE7 #F294EF #F9CBF7

Accessibility & contrast

On white

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

On black

7.29
#EC5DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5DE7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DE7#FFFFFF#000000##000000
##EC5DE71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#819FE3
Tritanopia (blue-blind)
#F46D9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5de7;
/* rgb */ color: rgb(236, 93, 231);
/* oklch */ color: oklch(71.0% 0.234 329.1);
Tailwind
colors: {
  custom: {
    50: '#f593ef',
    500: '#ec5de7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5de7;
$custom-light: #f593ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5de7",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 302.098,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71016,
    "c": 0.23393,
    "h": 329.1
  },
  "luminance": 0.31431
}

Semantic roles & 50–950 ramp

primary
#EC5DE7
secondary
#BAEBBB
accent
#DB120A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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