#EC71F4#EC71F4

#EC71F4 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.0% C 0.217 H 325.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#EC71F4
RGBrgb(236, 113, 244)
HSLhsl(296, 86%, 70%)
HSVhsv(296, 54%, 96%)
CMYKcmyk(3.3%, 53.7%, 0%, 4.3%)
CIE-LABlab(66.66, 64.94, -44.88)
CIE-LCHlch(66.66, 78.94, 325.35°)
OKLaboklab(73.98% 0.1777 -0.1239)
OKLCHoklch(73.98% 0.217 325.1)
XYZxyz(56.8250, 36.1778, 89.5603)
Luminance0.3618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71F4 #79F471
analogous
#AB71F4 #EC71F4 #F471BA
triadic
#EC71F4 #F4EC71 #71F4EC
tetradic
#EC71F4 #F4AB71 #79F471 #71BAF4
square
#EC71F4 #F4AB71 #79F471 #71BAF4
split-complementary
#EC71F4 #BAF471 #71F4AB
monochromatic
#CD11DA #E438F0 #EC71F4 #F4AAF8 #FBE3FD

Accessibility & contrast

On white

2.55
#EC71F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#EC71F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71F4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71F4#FFFFFF#000000##000000
##EC71F41.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F8
Deuteranopia (green-blind)
#87A7F0
Tritanopia (blue-blind)
#F182A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec71f4;
/* rgb */ color: rgb(236, 113, 244);
/* oklch */ color: oklch(74.0% 0.217 325.1);
Tailwind
colors: {
  custom: {
    50: '#f59ff8',
    500: '#ec71f4',
    950: '#000000',
  },
}
SCSS
$custom: #ec71f4;
$custom-light: #f59ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71f4",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 296.336,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.73977,
    "c": 0.21659,
    "h": 325.1
  },
  "luminance": 0.36175
}

Semantic roles & 50–950 ramp

primary
#EC71F4
secondary
#D0F3CE
accent
#E20311
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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