#EC5FD7#EC5FD7

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

Color values

HEX#EC5FD7
RGBrgb(236, 95, 215)
HSLhsl(309, 79%, 65%)
HSVhsv(309, 60%, 93%)
CMYKcmyk(0%, 59.7%, 8.9%, 7.5%)
CIE-LABlab(62.45, 68.04, -35.33)
CIE-LCHlch(62.45, 76.67, 332.56°)
OKLaboklab(70.47% 0.1966 -0.0963)
OKLCHoklch(70.47% 0.219 333.9)
XYZxyz(50.9502, 30.9275, 67.5629)
Luminance0.3092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FD7 #5FEC74
analogous
#BA5FEC #EC5FD7 #EC5F91
triadic
#EC5FD7 #D7EC5F #5FD7EC
tetradic
#EC5FD7 #ECBA5F #5FEC74 #5F91EC
square
#EC5FD7 #ECBA5F #5FEC74 #5F91EC
split-complementary
#EC5FD7 #91EC5F #5FECBA
monochromatic
#BA16A2 #E628C9 #EC5FD7 #F296E5 #F9CCF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5FD7#FFFFFF#000000##000000
##EC5FD71.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)
#5D8ADB
Deuteranopia (green-blind)
#899ED3
Tritanopia (blue-blind)
#F66992
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5fd7;
/* rgb */ color: rgb(236, 95, 215);
/* oklch */ color: oklch(70.5% 0.219 333.9);
Tailwind
colors: {
  custom: {
    50: '#f594e3',
    500: '#ec5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fd7;
$custom-light: #f594e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fd7",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 308.936,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70468,
    "c": 0.21891,
    "h": 333.9
  },
  "luminance": 0.30924
}

Semantic roles & 50–950 ramp

primary
#EC5FD7
secondary
#BBEBC3
accent
#DB2A0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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