#EC71F9#EC71F9

#EC71F9 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.2% C 0.221 H 323.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#EC71F9
RGBrgb(236, 113, 249)
HSLhsl(294, 92%, 71%)
HSVhsv(294, 55%, 98%)
CMYKcmyk(5.2%, 54.6%, 0%, 2.4%)
CIE-LABlab(66.89, 65.83, -47.26)
CIE-LCHlch(66.89, 81.04, 324.32°)
OKLaboklab(74.22% 0.1782 -0.1308)
OKLCHoklch(74.22% 0.221 323.7)
XYZxyz(57.5945, 36.4856, 93.6129)
Luminance0.3648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71F9 #7EF971
analogous
#A871F9 #EC71F9 #F971C2
triadic
#EC71F9 #F9EC71 #71F9EC
tetradic
#EC71F9 #F9A871 #7EF971 #71C2F9
square
#EC71F9 #F9A871 #7EF971 #71C2F9
split-complementary
#EC71F9 #C2F971 #71F9A8
monochromatic
#D10AE6 #E436F7 #EC71F9 #F4ACFB #FBE2FE

Accessibility & contrast

On white

2.53
#EC71F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#EC71F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71F9
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71F9#FFFFFF#000000##000000
##EC71F91.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#F083AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec71f9;
/* rgb */ color: rgb(236, 113, 249);
/* oklch */ color: oklch(74.2% 0.221 323.7);
Tailwind
colors: {
  custom: {
    50: '#f59ffc',
    500: '#ec71f9',
    950: '#000000',
  },
}
SCSS
$custom: #ec71f9;
$custom-light: #f59ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71f9",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 294.265,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74225,
    "c": 0.221,
    "h": 323.7
  },
  "luminance": 0.36483
}

Semantic roles & 50–950 ramp

primary
#EC71F9
secondary
#D4F5D1
accent
#E60016
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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