#EC71F7#EC71F7

#EC71F7 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.1% C 0.219 H 324.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#EC71F7
RGBrgb(236, 113, 247)
HSLhsl(295, 89%, 71%)
HSVhsv(295, 54%, 97%)
CMYKcmyk(4.5%, 54.3%, 0%, 3.1%)
CIE-LABlab(66.80, 65.47, -46.31)
CIE-LCHlch(66.80, 80.19, 324.73°)
OKLaboklab(74.13% 0.178 -0.128)
OKLCHoklch(74.13% 0.219 324.3)
XYZxyz(57.2842, 36.3615, 91.9788)
Luminance0.3636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71F7 #7CF771
analogous
#A971F7 #EC71F7 #F771BF
triadic
#EC71F7 #F7EC71 #71F7EC
tetradic
#EC71F7 #F7A971 #7CF771 #71BFF7
square
#EC71F7 #F7A971 #7CF771 #71BFF7
split-complementary
#EC71F7 #BFF771 #71F7A9
monochromatic
#D00DE1 #E437F4 #EC71F7 #F4ABFA #FBE2FD

Accessibility & contrast

On white

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

On black

8.27
#EC71F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71F7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71F7#FFFFFF#000000##000000
##EC71F71.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#86A8F3
Tritanopia (blue-blind)
#F083AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec71f7;
/* rgb */ color: rgb(236, 113, 247);
/* oklch */ color: oklch(74.1% 0.219 324.3);
Tailwind
colors: {
  custom: {
    50: '#f59ffa',
    500: '#ec71f7',
    950: '#000000',
  },
}
SCSS
$custom: #ec71f7;
$custom-light: #f59ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71f7",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 295.075,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74125,
    "c": 0.21923,
    "h": 324.3
  },
  "luminance": 0.36359
}

Semantic roles & 50–950 ramp

primary
#EC71F7
secondary
#D3F4D0
accent
#E60013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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