#EC7EEE#EC7EEE

#EC7EEE is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.4% C 0.191 H 326.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#EC7EEE
RGBrgb(236, 126, 238)
HSLhsl(299, 77%, 71%)
HSVhsv(299, 47%, 93%)
CMYKcmyk(0.8%, 47.1%, 0%, 6.7%)
CIE-LABlab(68.70, 57.75, -38.38)
CIE-LCHlch(68.70, 69.34, 326.39°)
OKLaboklab(75.4% 0.1597 -0.1053)
OKLCHoklch(75.4% 0.191 326.6)
XYZxyz(57.4844, 38.9306, 85.3588)
Luminance0.3893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EEE #80EE7E
analogous
#B47EEE #EC7EEE #EE7EB8
triadic
#EC7EEE #EEEC7E #7EEEEC
tetradic
#EC7EEE #EEB47E #80EE7E #7EB8EE
square
#EC7EEE #EEB47E #80EE7E #7EB8EE
split-complementary
#EC7EEE #B8EE7E #7EEEB4
monochromatic
#D21CD5 #E448E7 #EC7EEE #F4B4F5 #FBE4FB

Accessibility & contrast

On white

2.39
#EC7EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#EC7EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EEE
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EEE#FFFFFF#000000##000000
##EC7EEE1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#93ADEB
Tritanopia (blue-blind)
#F28AAB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7eee;
/* rgb */ color: rgb(236, 126, 238);
/* oklch */ color: oklch(75.4% 0.191 326.6);
Tailwind
colors: {
  custom: {
    50: '#f4a7f4',
    500: '#ec7eee',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eee;
$custom-light: #f4a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eee",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 298.929,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75399,
    "c": 0.19131,
    "h": 326.6
  },
  "luminance": 0.38928
}

Semantic roles & 50–950 ramp

primary
#EC7EEE
secondary
#D6F2D5
accent
#D90D10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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