#EC5FD8#EC5FD8

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

Color values

HEX#EC5FD8
RGBrgb(236, 95, 216)
HSLhsl(309, 79%, 65%)
HSVhsv(309, 60%, 93%)
CMYKcmyk(0%, 59.7%, 8.5%, 7.5%)
CIE-LABlab(62.49, 68.19, -35.83)
CIE-LCHlch(62.49, 77.03, 332.28°)
OKLaboklab(70.51% 0.1967 -0.0977)
OKLCHoklch(70.51% 0.22 333.6)
XYZxyz(51.0791, 30.9790, 68.2417)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FD8 #5FEC73
analogous
#BA5FEC #EC5FD8 #EC5F91
triadic
#EC5FD8 #D8EC5F #5FD8EC
tetradic
#EC5FD8 #ECBA5F #5FEC73 #5F91EC
square
#EC5FD8 #ECBA5F #5FEC73 #5F91EC
split-complementary
#EC5FD8 #91EC5F #5FECBA
monochromatic
#BA16A3 #E628CB #EC5FD8 #F296E5 #F9CCF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5FD8#FFFFFF#000000##000000
##EC5FD81.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)
#5C8ADC
Deuteranopia (green-blind)
#899FD4
Tritanopia (blue-blind)
#F66993
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5fd8;
/* rgb */ color: rgb(236, 95, 216);
/* oklch */ color: oklch(70.5% 0.220 333.6);
Tailwind
colors: {
  custom: {
    50: '#f594e4',
    500: '#ec5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fd8;
$custom-light: #f594e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fd8",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 308.511,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70514,
    "c": 0.21967,
    "h": 333.6
  },
  "luminance": 0.30975
}

Semantic roles & 50–950 ramp

primary
#EC5FD8
secondary
#BBEBC2
accent
#DB280A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #EC5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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