#EC7AE1#EC7AE1

#EC7AE1 is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.3% C 0.186 H 331.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#EC7AE1
RGBrgb(236, 122, 225)
HSLhsl(306, 75%, 70%)
HSVhsv(306, 48%, 93%)
CMYKcmyk(0%, 48.3%, 4.7%, 7.5%)
CIE-LABlab(67.42, 57.44, -33.19)
CIE-LCHlch(67.42, 66.34, 329.98°)
OKLaboklab(74.27% 0.1629 -0.0904)
OKLCHoklch(74.27% 0.186 331)
XYZxyz(55.1418, 37.1915, 75.4938)
Luminance0.3719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AE1 #7AEC85
analogous
#BE7AEC #EC7AE1 #EC7AA8
triadic
#EC7AE1 #E1EC7A #7AE1EC
tetradic
#EC7AE1 #ECBE7A #7AEC85 #7AA8EC
square
#EC7AE1 #ECBE7A #7AEC85 #7AA8EC
split-complementary
#EC7AE1 #A8EC7A #7AECBE
monochromatic
#CE1DBD #E444D5 #EC7AE1 #F4B0ED #FBE4F9

Accessibility & contrast

On white

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

On black

8.44
#EC7AE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AE1
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AE1#FFFFFF#000000##000000
##EC7AE11.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE4
Deuteranopia (green-blind)
#96AADE
Tritanopia (blue-blind)
#F483A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7ae1;
/* rgb */ color: rgb(236, 122, 225);
/* oklch */ color: oklch(74.3% 0.186 331.0);
Tailwind
colors: {
  custom: {
    50: '#f4a4ea',
    500: '#ec7ae1',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ae1;
$custom-light: #f4a4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ae1",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 305.789,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74272,
    "c": 0.18636,
    "h": 331
  },
  "luminance": 0.37188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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