#EC71F5#EC71F5

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

Color values

HEX#EC71F5
RGBrgb(236, 113, 245)
HSLhsl(296, 87%, 70%)
HSVhsv(296, 54%, 96%)
CMYKcmyk(3.7%, 53.9%, 0%, 3.9%)
CIE-LABlab(66.70, 65.12, -45.36)
CIE-LCHlch(66.70, 79.36, 325.14°)
OKLaboklab(74.03% 0.1778 -0.1253)
OKLCHoklch(74.03% 0.217 324.8)
XYZxyz(56.9773, 36.2387, 90.3621)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71F5 #7AF571
analogous
#AA71F5 #EC71F5 #F571BC
triadic
#EC71F5 #F5EC71 #71F5EC
tetradic
#EC71F5 #F5AA71 #7AF571 #71BCF5
square
#EC71F5 #F5AA71 #7AF571 #71BCF5
split-complementary
#EC71F5 #BCF571 #71F5AA
monochromatic
#CE10DC #E438F1 #EC71F5 #F4AAF9 #FBE2FD

Accessibility & contrast

On white

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

On black

8.25
#EC71F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71F5
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71F5#FFFFFF#000000##000000
##EC71F51.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99F9
Deuteranopia (green-blind)
#87A8F1
Tritanopia (blue-blind)
#F182A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec71f5;
/* rgb */ color: rgb(236, 113, 245);
/* oklch */ color: oklch(74.0% 0.217 324.8);
Tailwind
colors: {
  custom: {
    50: '#f59ff9',
    500: '#ec71f5',
    950: '#000000',
  },
}
SCSS
$custom: #ec71f5;
$custom-light: #f59ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71f5",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 295.909,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74026,
    "c": 0.21747,
    "h": 324.8
  },
  "luminance": 0.36236
}

Semantic roles & 50–950 ramp

primary
#EC71F5
secondary
#D1F3CF
accent
#E30211
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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