#EC7AE5#EC7AE5

#EC7AE5 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.190 H 329.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#EC7AE5
RGBrgb(236, 122, 229)
HSLhsl(304, 75%, 70%)
HSVhsv(304, 48%, 93%)
CMYKcmyk(0%, 48.3%, 3%, 7.5%)
CIE-LABlab(67.59, 58.12, -35.15)
CIE-LCHlch(67.59, 67.92, 328.84°)
OKLaboklab(74.45% 0.1637 -0.096)
OKLCHoklch(74.45% 0.19 329.6)
XYZxyz(55.6938, 37.4123, 78.4013)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AE5 #7AEC81
analogous
#BA7AEC #EC7AE5 #EC7AAC
triadic
#EC7AE5 #E5EC7A #7AE5EC
tetradic
#EC7AE5 #ECBA7A #7AEC81 #7AACEC
square
#EC7AE5 #ECBA7A #7AEC81 #7AACEC
split-complementary
#EC7AE5 #ACEC7A #7AECBA
monochromatic
#CE1DC3 #E444DB #EC7AE5 #F4B0EF #FBE4FA

Accessibility & contrast

On white

2.48
#EC7AE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#EC7AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AE5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AE5#FFFFFF#000000##000000
##EC7AE51.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BE9
Deuteranopia (green-blind)
#94AAE2
Tritanopia (blue-blind)
#F384A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7ae5;
/* rgb */ color: rgb(236, 122, 229);
/* oklch */ color: oklch(74.4% 0.190 329.6);
Tailwind
colors: {
  custom: {
    50: '#f4a4ed',
    500: '#ec7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ae5;
$custom-light: #f4a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ae5",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 303.684,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74448,
    "c": 0.18975,
    "h": 329.6
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

primary
#EC7AE5
secondary
#D1F1D3
accent
#D71B0E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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