#EC5FF1#EC5FF1

#EC5FF1 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.7% C 0.239 H 326.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#EC5FF1
RGBrgb(236, 95, 241)
HSLhsl(298, 84%, 66%)
HSVhsv(298, 61%, 95%)
CMYKcmyk(2.1%, 60.6%, 0%, 5.5%)
CIE-LABlab(63.65, 72.23, -47.96)
CIE-LCHlch(63.65, 86.70, 326.42°)
OKLaboklab(71.74% 0.1992 -0.1326)
OKLCHoklch(71.74% 0.239 326.3)
XYZxyz(54.5604, 32.3715, 86.5766)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FF1 #64F15F
analogous
#A35FF1 #EC5FF1 #F15FAD
triadic
#EC5FF1 #F1EC5F #5FF1EC
tetradic
#EC5FF1 #F1A35F #64F15F #5FADF1
square
#EC5FF1 #F1A35F #64F15F #5FADF1
split-complementary
#EC5FF1 #ADF15F #5FF1A3
monochromatic
#BE11C4 #E527EC #EC5FF1 #F397F6 #F9D0FB

Accessibility & contrast

On white

2.81
#EC5FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#EC5FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FF1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FF1#FFFFFF#000000##000000
##EC5FF11.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF5
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#F273A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec5ff1;
/* rgb */ color: rgb(236, 95, 241);
/* oklch */ color: oklch(71.7% 0.239 326.3);
Tailwind
colors: {
  custom: {
    50: '#f595f6',
    500: '#ec5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ff1;
$custom-light: #f595f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ff1",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 297.945,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71736,
    "c": 0.2393,
    "h": 326.3
  },
  "luminance": 0.32368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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