#EC5DEF#EC5DEF

#EC5DEF is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.4% C 0.240 H 326.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#EC5DEF
RGBrgb(236, 93, 239)
HSLhsl(299, 82%, 65%)
HSVhsv(299, 61%, 94%)
CMYKcmyk(1.3%, 61.1%, 0%, 6.3%)
CIE-LABlab(63.26, 72.71, -47.47)
CIE-LCHlch(63.26, 86.83, 326.86°)
OKLaboklab(71.42% 0.2013 -0.1312)
OKLCHoklch(71.42% 0.24 326.9)
XYZxyz(54.0855, 31.8970, 84.9526)
Luminance0.3189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DEF #60EF5D
analogous
#A35DEF #EC5DEF #EF5DA9
triadic
#EC5DEF #EFEC5D #5DEFEC
tetradic
#EC5DEF #EFA35D #60EF5D #5DA9EF
square
#EC5DEF #EFA35D #60EF5D #5DA9EF
split-complementary
#EC5DEF #A9EF5D #5DEFA3
monochromatic
#BB13BF #E525E9 #EC5DEF #F395F5 #F9CCFA

Accessibility & contrast

On white

2.85
#EC5DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#EC5DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5DEF
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DEF#FFFFFF#000000##000000
##EC5DEF1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#F2709E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec5def;
/* rgb */ color: rgb(236, 93, 239);
/* oklch */ color: oklch(71.4% 0.240 326.9);
Tailwind
colors: {
  custom: {
    50: '#f694f5',
    500: '#ec5def',
    950: '#000000',
  },
}
SCSS
$custom: #ec5def;
$custom-light: #f694f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5def",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 298.767,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7142,
    "c": 0.24031,
    "h": 326.9
  },
  "luminance": 0.31894
}

Semantic roles & 50–950 ramp

primary
#EC5DEF
secondary
#BCEDBB
accent
#DE070C
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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