#EC5FDF#EC5FDF

#EC5FDF is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.8% C 0.225 H 331.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#EC5FDF
RGBrgb(236, 95, 223)
HSLhsl(306, 79%, 65%)
HSVhsv(306, 60%, 93%)
CMYKcmyk(0%, 59.7%, 5.5%, 7.5%)
CIE-LABlab(62.80, 69.29, -39.27)
CIE-LCHlch(62.80, 79.64, 330.46°)
OKLaboklab(70.84% 0.1976 -0.1076)
OKLCHoklch(70.84% 0.225 331.4)
XYZxyz(52.0034, 31.3487, 73.1096)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FDF #5FEC6C
analogous
#B35FEC #EC5FDF #EC5F98
triadic
#EC5FDF #DFEC5F #5FDFEC
tetradic
#EC5FDF #ECB35F #5FEC6C #5F98EC
square
#EC5FDF #ECB35F #5FEC6C #5F98EC
split-complementary
#EC5FDF #98EC5F #5FECB3
monochromatic
#BA16AB #E628D4 #EC5FDF #F296EA #F9CCF5

Accessibility & contrast

On white

2.89
#EC5FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#EC5FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FDF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FDF#FFFFFF#000000##000000
##EC5FDF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE3
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#F56C97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5fdf;
/* rgb */ color: rgb(236, 95, 223);
/* oklch */ color: oklch(70.8% 0.225 331.4);
Tailwind
colors: {
  custom: {
    50: '#f594e9',
    500: '#ec5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fdf;
$custom-light: #f594e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fdf",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 305.532,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70843,
    "c": 0.225,
    "h": 331.4
  },
  "luminance": 0.31345
}

Semantic roles & 50–950 ramp

primary
#EC5FDF
secondary
#BBEBC0
accent
#DB1E0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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