#EC71F2#EC71F2

#EC71F2 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.9% C 0.215 H 325.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#EC71F2
RGBrgb(236, 113, 242)
HSLhsl(297, 83%, 70%)
HSVhsv(297, 53%, 95%)
CMYKcmyk(2.5%, 53.3%, 0%, 5.1%)
CIE-LABlab(66.56, 64.59, -43.92)
CIE-LCHlch(66.56, 78.11, 325.78°)
OKLaboklab(73.88% 0.1774 -0.1211)
OKLCHoklch(73.88% 0.215 325.7)
XYZxyz(56.5230, 36.0570, 87.9697)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71F2 #77F271
analogous
#AB71F2 #EC71F2 #F271B8
triadic
#EC71F2 #F2EC71 #71F2EC
tetradic
#EC71F2 #F2AB71 #77F271 #71B8F2
square
#EC71F2 #F2AB71 #77F271 #71B8F2
split-complementary
#EC71F2 #B8F271 #71F2AB
monochromatic
#CC14D5 #E439ED #EC71F2 #F4A9F7 #FBE1FC

Accessibility & contrast

On white

2.56
#EC71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#EC71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71F2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71F2#FFFFFF#000000##000000
##EC71F21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#F181A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec71f2;
/* rgb */ color: rgb(236, 113, 242);
/* oklch */ color: oklch(73.9% 0.215 325.7);
Tailwind
colors: {
  custom: {
    50: '#f59ff7',
    500: '#ec71f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec71f2;
$custom-light: #f59ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71f2",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 297.209,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.21484,
    "h": 325.7
  },
  "luminance": 0.36054
}

Semantic roles & 50–950 ramp

primary
#EC71F2
secondary
#CFF2CD
accent
#E00610
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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