#EC5FED#EC5FED

#EC5FED is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.5% C 0.236 H 327.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#EC5FED
RGBrgb(236, 95, 237)
HSLhsl(300, 80%, 65%)
HSVhsv(300, 60%, 93%)
CMYKcmyk(0.4%, 59.9%, 0%, 7.1%)
CIE-LABlab(63.45, 71.56, -46.05)
CIE-LCHlch(63.45, 85.10, 327.24°)
OKLaboklab(71.53% 0.1989 -0.1271)
OKLCHoklch(71.53% 0.236 327.4)
XYZxyz(53.9695, 32.1352, 83.4644)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FED #60ED5F
analogous
#A55FED #EC5FED #ED5FA7
triadic
#EC5FED #EDEC5F #5FEDEC
tetradic
#EC5FED #EDA55F #60ED5F #5FA7ED
square
#EC5FED #EDA55F #60ED5F #5FA7ED
split-complementary
#EC5FED #A7ED5F #5FEDA5
monochromatic
#BB15BC #E528E7 #EC5FED #F396F3 #F9CDF9

Accessibility & contrast

On white

2.83
#EC5FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#EC5FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FED
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FED#FFFFFF#000000##000000
##EC5FED1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#F3719E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec5fed;
/* rgb */ color: rgb(236, 95, 237);
/* oklch */ color: oklch(71.5% 0.236 327.4);
Tailwind
colors: {
  custom: {
    50: '#f595f3',
    500: '#ec5fed',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fed;
$custom-light: #f595f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fed",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 299.577,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71531,
    "c": 0.23606,
    "h": 327.4
  },
  "luminance": 0.32132
}

Semantic roles & 50–950 ramp

primary
#EC5FED
secondary
#BCECBC
accent
#DC090B
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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