#EC71DB#EC71DB

#EC71DB is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.8% C 0.196 H 332.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#EC71DB
RGBrgb(236, 113, 219)
HSLhsl(308, 76%, 68%)
HSVhsv(308, 52%, 93%)
CMYKcmyk(0%, 52.1%, 7.2%, 7.5%)
CIE-LABlab(65.56, 60.71, -32.73)
CIE-LCHlch(65.56, 68.98, 331.67°)
OKLaboklab(72.82% 0.1741 -0.0891)
OKLCHoklch(72.82% 0.196 332.9)
XYZxyz(53.2833, 34.7611, 70.9072)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71DB #71EC82
analogous
#C071EC #EC71DB #EC719D
triadic
#EC71DB #DBEC71 #71DBEC
tetradic
#EC71DB #ECC071 #71EC82 #719DEC
square
#EC71DB #ECC071 #71EC82 #719DEC
split-complementary
#EC71DB #9DEC71 #71ECC0
monochromatic
#C81BB0 #E53BCD #EC71DB #F3A7E9 #FADDF6

Accessibility & contrast

On white

2.64
#EC71DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#EC71DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71DB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71DB#FFFFFF#000000##000000
##EC71DB1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#92A6D8
Tritanopia (blue-blind)
#F5799C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec71db;
/* rgb */ color: rgb(236, 113, 219);
/* oklch */ color: oklch(72.8% 0.196 332.9);
Tailwind
colors: {
  custom: {
    50: '#f59fe6',
    500: '#ec71db',
    950: '#000000',
  },
}
SCSS
$custom: #ec71db;
$custom-light: #f59fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71db",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 308.293,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72815,
    "c": 0.19556,
    "h": 332.9
  },
  "luminance": 0.34758
}

Semantic roles & 50–950 ramp

primary
#EC71DB
secondary
#CAEFCF
accent
#D9290D
background
#FFFAFE
surface
#FFF3FC
border
#D7CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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