#EC71F6#EC71F6

#EC71F6 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.1% C 0.218 H 324.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#EC71F6
RGBrgb(236, 113, 246)
HSLhsl(295, 88%, 70%)
HSVhsv(295, 54%, 96%)
CMYKcmyk(4.1%, 54.1%, 0%, 3.5%)
CIE-LABlab(66.75, 65.29, -45.84)
CIE-LCHlch(66.75, 79.78, 324.93°)
OKLaboklab(74.08% 0.1779 -0.1266)
OKLCHoklch(74.08% 0.218 324.5)
XYZxyz(57.1303, 36.3000, 91.1683)
Luminance0.3630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71F6 #7BF671
analogous
#AA71F6 #EC71F6 #F671BD
triadic
#EC71F6 #F6EC71 #71F6EC
tetradic
#EC71F6 #F6AA71 #7BF671 #71BDF6
square
#EC71F6 #F6AA71 #7BF671 #71BDF6
split-complementary
#EC71F6 #BDF671 #71F6AA
monochromatic
#CF0EDE #E437F2 #EC71F6 #F4ABFA #FBE2FD

Accessibility & contrast

On white

2.54
#EC71F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#EC71F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71F6
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71F6#FFFFFF#000000##000000
##EC71F61.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#86A8F2
Tritanopia (blue-blind)
#F182A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec71f6;
/* rgb */ color: rgb(236, 113, 246);
/* oklch */ color: oklch(74.1% 0.218 324.5);
Tailwind
colors: {
  custom: {
    50: '#f59ff9',
    500: '#ec71f6',
    950: '#000000',
  },
}
SCSS
$custom: #ec71f6;
$custom-light: #f59ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71f6",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 295.489,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74076,
    "c": 0.21835,
    "h": 324.5
  },
  "luminance": 0.36297
}

Semantic roles & 50–950 ramp

primary
#EC71F6
secondary
#D2F4CF
accent
#E50112
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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