#EC7AE0#EC7AE0

#EC7AE0 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.186 H 331.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#EC7AE0
RGBrgb(236, 122, 224)
HSLhsl(306, 75%, 70%)
HSVhsv(306, 48%, 93%)
CMYKcmyk(0%, 48.3%, 5.1%, 7.5%)
CIE-LABlab(67.38, 57.28, -32.70)
CIE-LCHlch(67.38, 65.95, 330.28°)
OKLaboklab(74.23% 0.1628 -0.089)
OKLCHoklch(74.23% 0.186 331.3)
XYZxyz(55.0058, 37.1371, 74.7775)
Luminance0.3713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AE0 #7AEC86
analogous
#BF7AEC #EC7AE0 #EC7AA7
triadic
#EC7AE0 #E0EC7A #7AE0EC
tetradic
#EC7AE0 #ECBF7A #7AEC86 #7AA7EC
square
#EC7AE0 #ECBF7A #7AEC86 #7AA7EC
split-complementary
#EC7AE0 #A7EC7A #7AECBF
monochromatic
#CE1DBC #E444D4 #EC7AE0 #F4B0EC #FBE4F9

Accessibility & contrast

On white

2.49
#EC7AE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#EC7AE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AE0
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AE0#FFFFFF#000000##000000
##EC7AE01.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE3
Deuteranopia (green-blind)
#96AADD
Tritanopia (blue-blind)
#F483A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7ae0;
/* rgb */ color: rgb(236, 122, 224);
/* oklch */ color: oklch(74.2% 0.186 331.3);
Tailwind
colors: {
  custom: {
    50: '#f4a4ea',
    500: '#ec7ae0',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ae0;
$custom-light: #f4a4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ae0",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 224
  },
  "hsl": {
    "h": 306.316,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.18552,
    "h": 331.3
  },
  "luminance": 0.37134
}

Semantic roles & 50–950 ramp

primary
#EC7AE0
secondary
#D1F1D4
accent
#D7230E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC7AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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