#EC72D8#EC72D8

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

Color values

HEX#EC72D8
RGBrgb(236, 114, 216)
HSLhsl(310, 76%, 69%)
HSVhsv(310, 52%, 93%)
CMYKcmyk(0%, 51.7%, 8.5%, 7.5%)
CIE-LABlab(65.62, 59.76, -30.98)
CIE-LCHlch(65.62, 67.31, 332.60°)
OKLaboklab(72.81% 0.1722 -0.0841)
OKLCHoklch(72.81% 0.192 334)
XYZxyz(53.0041, 34.8290, 68.8833)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72D8 #72EC86
analogous
#C372EC #EC72D8 #EC729B
triadic
#EC72D8 #D8EC72 #72D8EC
tetradic
#EC72D8 #ECC372 #72EC86 #729BEC
square
#EC72D8 #ECC372 #72EC86 #729BEC
split-complementary
#EC72D8 #9BEC72 #72ECC3
monochromatic
#C91BAC #E53CC9 #EC72D8 #F3A8E7 #FBDEF6

Accessibility & contrast

On white

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

On black

7.97
#EC72D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72D8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72D8#FFFFFF#000000##000000
##EC72D81.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DB
Deuteranopia (green-blind)
#94A6D5
Tritanopia (blue-blind)
#F6799B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec72d8;
/* rgb */ color: rgb(236, 114, 216);
/* oklch */ color: oklch(72.8% 0.192 334.0);
Tailwind
colors: {
  custom: {
    50: '#f59fe4',
    500: '#ec72d8',
    950: '#000000',
  },
}
SCSS
$custom: #ec72d8;
$custom-light: #f59fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72d8",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 309.836,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72814,
    "c": 0.19164,
    "h": 334
  },
  "luminance": 0.34825
}

Semantic roles & 50–950 ramp

primary
#EC72D8
secondary
#CBEFD1
accent
#D82E0D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC72D8

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

Preview Lab → · Contrast checker → · Palette generator →

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