#EC7AE9#EC7AE9

#EC7AE9 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.6% C 0.193 H 328.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#EC7AE9
RGBrgb(236, 122, 233)
HSLhsl(302, 75%, 70%)
HSVhsv(302, 48%, 93%)
CMYKcmyk(0%, 48.3%, 1.3%, 7.5%)
CIE-LABlab(67.75, 58.81, -37.10)
CIE-LCHlch(67.75, 69.53, 327.75°)
OKLaboklab(74.63% 0.1643 -0.1016)
OKLCHoklch(74.63% 0.193 328.3)
XYZxyz(56.2588, 37.6383, 81.3766)
Luminance0.3764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AE9 #7AEC7D
analogous
#B67AEC #EC7AE9 #EC7AB0
triadic
#EC7AE9 #E9EC7A #7AE9EC
tetradic
#EC7AE9 #ECB67A #7AEC7D #7AB0EC
square
#EC7AE9 #ECB67A #7AEC7D #7AB0EC
split-complementary
#EC7AE9 #B0EC7A #7AECB6
monochromatic
#CE1DC9 #E444E0 #EC7AE9 #F4B0F2 #FBE4FB

Accessibility & contrast

On white

2.46
#EC7AE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#EC7AE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AE9
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AE9#FFFFFF#000000##000000
##EC7AE91.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BED
Deuteranopia (green-blind)
#93AAE6
Tritanopia (blue-blind)
#F385A7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7ae9;
/* rgb */ color: rgb(236, 122, 233);
/* oklch */ color: oklch(74.6% 0.193 328.3);
Tailwind
colors: {
  custom: {
    50: '#f4a4f0',
    500: '#ec7ae9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ae9;
$custom-light: #f4a4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ae9",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 301.579,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74627,
    "c": 0.1932,
    "h": 328.3
  },
  "luminance": 0.37635
}

Semantic roles & 50–950 ramp

primary
#EC7AE9
secondary
#D1F1D2
accent
#D7140E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC7AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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