#EC71D8#EC71D8

#EC71D8 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.7% C 0.193 H 333.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#EC71D8
RGBrgb(236, 113, 216)
HSLhsl(310, 76%, 68%)
HSVhsv(310, 52%, 93%)
CMYKcmyk(0%, 52.1%, 8.5%, 7.5%)
CIE-LABlab(65.44, 60.23, -31.25)
CIE-LCHlch(65.44, 67.85, 332.58°)
OKLaboklab(72.68% 0.1736 -0.0849)
OKLCHoklch(72.68% 0.193 333.9)
XYZxyz(52.8919, 34.6046, 68.8460)
Luminance0.3460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71D8 #71EC85
analogous
#C271EC #EC71D8 #EC719A
triadic
#EC71D8 #D8EC71 #71D8EC
tetradic
#EC71D8 #ECC271 #71EC85 #719AEC
square
#EC71D8 #ECC271 #71EC85 #719AEC
split-complementary
#EC71D8 #9AEC71 #71ECC2
monochromatic
#C81BAC #E53BC9 #EC71D8 #F3A7E7 #FADDF6

Accessibility & contrast

On white

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

On black

7.92
#EC71D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71D8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71D8#FFFFFF#000000##000000
##EC71D81.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DB
Deuteranopia (green-blind)
#93A5D5
Tritanopia (blue-blind)
#F6789B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec71d8;
/* rgb */ color: rgb(236, 113, 216);
/* oklch */ color: oklch(72.7% 0.193 333.9);
Tailwind
colors: {
  custom: {
    50: '#f59fe4',
    500: '#ec71d8',
    950: '#000000',
  },
}
SCSS
$custom: #ec71d8;
$custom-light: #f59fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71d8",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 309.756,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72684,
    "c": 0.19319,
    "h": 333.9
  },
  "luminance": 0.34601
}

Semantic roles & 50–950 ramp

primary
#EC71D8
secondary
#CAEFD0
accent
#D92E0D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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