#EC7AE2#EC7AE2

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

Color values

HEX#EC7AE2
RGBrgb(236, 122, 226)
HSLhsl(305, 75%, 70%)
HSVhsv(305, 48%, 93%)
CMYKcmyk(0%, 48.3%, 4.2%, 7.5%)
CIE-LABlab(67.46, 57.61, -33.68)
CIE-LCHlch(67.46, 66.73, 329.69°)
OKLaboklab(74.32% 0.1631 -0.0918)
OKLCHoklch(74.32% 0.187 330.6)
XYZxyz(55.2786, 37.2462, 76.2144)
Luminance0.3724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AE2 #7AEC84
analogous
#BD7AEC #EC7AE2 #EC7AA9
triadic
#EC7AE2 #E2EC7A #7AE2EC
tetradic
#EC7AE2 #ECBD7A #7AEC84 #7AA9EC
square
#EC7AE2 #ECBD7A #7AEC84 #7AA9EC
split-complementary
#EC7AE2 #A9EC7A #7AECBD
monochromatic
#CE1DBF #E444D6 #EC7AE2 #F4B0EE #FBE4F9

Accessibility & contrast

On white

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

On black

8.45
#EC7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AE2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AE2#FFFFFF#000000##000000
##EC7AE21.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE6
Deuteranopia (green-blind)
#95AADF
Tritanopia (blue-blind)
#F483A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7ae2;
/* rgb */ color: rgb(236, 122, 226);
/* oklch */ color: oklch(74.3% 0.187 330.6);
Tailwind
colors: {
  custom: {
    50: '#f4a4eb',
    500: '#ec7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ae2;
$custom-light: #f4a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ae2",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 305.263,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74315,
    "c": 0.1872,
    "h": 330.6
  },
  "luminance": 0.37243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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