#EC7EE4#EC7EE4

#EC7EE4 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.0% C 0.182 H 329.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#EC7EE4
RGBrgb(236, 126, 228)
HSLhsl(304, 74%, 71%)
HSVhsv(304, 47%, 93%)
CMYKcmyk(0%, 46.6%, 3.4%, 7.5%)
CIE-LABlab(68.28, 56.01, -33.51)
CIE-LCHlch(68.28, 65.27, 329.11°)
OKLaboklab(74.95% 0.158 -0.0914)
OKLCHoklch(74.95% 0.183 329.9)
XYZxyz(56.0559, 38.3592, 77.8352)
Luminance0.3836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EE4 #7EEC86
analogous
#BD7EEC #EC7EE4 #EC7EAD
triadic
#EC7EE4 #E4EC7E #7EE4EC
tetradic
#EC7EE4 #ECBD7E #7EEC86 #7EADEC
square
#EC7EE4 #ECBD7E #7EEC86 #7EADEC
split-complementary
#EC7EE4 #ADEC7E #7EECBD
monochromatic
#D11FC4 #E449D9 #EC7EE4 #F4B3EF #FBE4F9

Accessibility & contrast

On white

2.42
#EC7EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#EC7EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EE4
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EE4#FFFFFF#000000##000000
##EC7EE41.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE7
Deuteranopia (green-blind)
#97ACE1
Tritanopia (blue-blind)
#F387A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7ee4;
/* rgb */ color: rgb(236, 126, 228);
/* oklch */ color: oklch(75.0% 0.182 329.9);
Tailwind
colors: {
  custom: {
    50: '#f4a7ec',
    500: '#ec7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ee4;
$custom-light: #f4a7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ee4",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 304.364,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74953,
    "c": 0.1825,
    "h": 329.9
  },
  "luminance": 0.38356
}

Semantic roles & 50–950 ramp

primary
#EC7EE4
secondary
#D4F2D6
accent
#D61E0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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