#EC7AEC#EC7AEC

#EC7AEC is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.8% C 0.196 H 327.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#EC7AEC
RGBrgb(236, 122, 236)
HSLhsl(300, 75%, 70%)
HSVhsv(300, 48%, 93%)
CMYKcmyk(0%, 48.3%, 0%, 7.5%)
CIE-LABlab(67.88, 59.33, -38.55)
CIE-LCHlch(67.88, 70.75, 326.98°)
OKLaboklab(74.76% 0.1648 -0.1058)
OKLCHoklch(74.76% 0.196 327.3)
XYZxyz(56.6910, 37.8112, 83.6528)
Luminance0.3781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AEC #7AEC7A
analogous
#B37AEC #EC7AEC #EC7AB3
triadic
#EC7AEC #ECEC7A #7AECEC
tetradic
#EC7AEC #ECB37A #7AEC7A #7AB3EC
square
#EC7AEC #ECB37A #7AEC7A #7AB3EC
split-complementary
#EC7AEC #B3EC7A #7AECB3
monochromatic
#CE1DCE #E444E4 #EC7AEC #F4B0F4 #FBE4FB

Accessibility & contrast

On white

2.45
#EC7AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#EC7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AEC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AEC#FFFFFF#000000##000000
##EC7AEC1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#F286A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7aec;
/* rgb */ color: rgb(236, 122, 236);
/* oklch */ color: oklch(74.8% 0.196 327.3);
Tailwind
colors: {
  custom: {
    50: '#f4a4f2',
    500: '#ec7aec',
    950: '#000000',
  },
}
SCSS
$custom: #ec7aec;
$custom-light: #f4a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7aec",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74764,
    "c": 0.19583,
    "h": 327.3
  },
  "luminance": 0.37808
}

Semantic roles & 50–950 ramp

primary
#EC7AEC
secondary
#D1F1D1
accent
#D70E0E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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