#EC71D9#EC71D9

#EC71D9 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.7% C 0.194 H 333.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#EC71D9
RGBrgb(236, 113, 217)
HSLhsl(309, 76%, 68%)
HSVhsv(309, 52%, 93%)
CMYKcmyk(0%, 52.1%, 8.1%, 7.5%)
CIE-LABlab(65.48, 60.39, -31.74)
CIE-LCHlch(65.48, 68.23, 332.27°)
OKLaboklab(72.73% 0.1737 -0.0863)
OKLCHoklch(72.73% 0.194 333.6)
XYZxyz(53.0216, 34.6565, 69.5289)
Luminance0.3465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71D9 #71EC84
analogous
#C171EC #EC71D9 #EC719B
triadic
#EC71D9 #D9EC71 #71D9EC
tetradic
#EC71D9 #ECC171 #71EC84 #719BEC
square
#EC71D9 #ECC171 #71EC84 #719BEC
split-complementary
#EC71D9 #9BEC71 #71ECC1
monochromatic
#C81BAD #E53BCB #EC71D9 #F3A7E7 #FADDF6

Accessibility & contrast

On white

2.65
#EC71D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#EC71D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71D9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71D9#FFFFFF#000000##000000
##EC71D91.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DC
Deuteranopia (green-blind)
#93A6D6
Tritanopia (blue-blind)
#F5799B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec71d9;
/* rgb */ color: rgb(236, 113, 217);
/* oklch */ color: oklch(72.7% 0.194 333.6);
Tailwind
colors: {
  custom: {
    50: '#f59fe5',
    500: '#ec71d9',
    950: '#000000',
  },
}
SCSS
$custom: #ec71d9;
$custom-light: #f59fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71d9",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 309.268,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.19398,
    "h": 333.6
  },
  "luminance": 0.34653
}

Semantic roles & 50–950 ramp

primary
#EC71D9
secondary
#CAEFD0
accent
#D92C0D
background
#FFFAFE
surface
#FFF3FC
border
#D7CDD5
text
#170F15
muted
#857F84

Preview Lab

Preview with #EC71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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