#EC5EF1#EC5EF1

#EC5EF1 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.6% C 0.241 H 326.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#EC5EF1
RGBrgb(236, 94, 241)
HSLhsl(298, 84%, 66%)
HSVhsv(298, 61%, 95%)
CMYKcmyk(2.1%, 61%, 0%, 5.5%)
CIE-LABlab(63.50, 72.64, -48.19)
CIE-LCHlch(63.50, 87.17, 326.44°)
OKLaboklab(71.63% 0.2003 -0.1333)
OKLCHoklch(71.63% 0.241 326.4)
XYZxyz(54.4709, 32.1925, 86.5467)
Luminance0.3219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EF1 #63F15E
analogous
#A25EF1 #EC5EF1 #F15EAC
triadic
#EC5EF1 #F1EC5E #5EF1EC
tetradic
#EC5EF1 #F1A25E #63F15E #5EACF1
square
#EC5EF1 #F1A25E #63F15E #5EACF1
split-complementary
#EC5EF1 #ACF15E #5EF1A2
monochromatic
#BE11C4 #E526EC #EC5EF1 #F396F6 #F9CFFB

Accessibility & contrast

On white

2.82
#EC5EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#EC5EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5EF1
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EF1#FFFFFF#000000##000000
##EC5EF11.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488EF5
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#F2729F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec5ef1;
/* rgb */ color: rgb(236, 94, 241);
/* oklch */ color: oklch(71.6% 0.241 326.4);
Tailwind
colors: {
  custom: {
    50: '#f694f6',
    500: '#ec5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ef1;
$custom-light: #f694f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ef1",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 297.959,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71629,
    "c": 0.24062,
    "h": 326.4
  },
  "luminance": 0.32189
}

Semantic roles & 50–950 ramp

primary
#EC5EF1
secondary
#BFEEBD
accent
#E0050D
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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