#EC81ED#EC81ED

#EC81ED is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.8% C 0.186 H 326.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#EC81ED
RGBrgb(236, 129, 237)
HSLhsl(299, 75%, 72%)
HSVhsv(299, 46%, 93%)
CMYKcmyk(0.4%, 45.6%, 0%, 7.1%)
CIE-LABlab(69.22, 56.10, -37.02)
CIE-LCHlch(69.22, 67.22, 326.58°)
OKLaboklab(75.77% 0.1555 -0.1014)
OKLCHoklch(75.77% 0.186 326.9)
XYZxyz(57.7273, 39.6508, 84.7170)
Luminance0.3965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC81ED #82ED81
analogous
#B681ED #EC81ED #ED81B8
triadic
#EC81ED #EDEC81 #81EDEC
tetradic
#EC81ED #EDB681 #82ED81 #81B8ED
square
#EC81ED #EDB681 #82ED81 #81B8ED
split-complementary
#EC81ED #B8ED81 #81EDB6
monochromatic
#D31ED5 #E44BE5 #EC81ED #F4B7F5 #FBE4FB

Accessibility & contrast

On white

2.35
#EC81ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#EC81ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC81ED
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC81ED#FFFFFF#000000##000000
##EC81ED1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#96AEEA
Tritanopia (blue-blind)
#F28CAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec81ed;
/* rgb */ color: rgb(236, 129, 237);
/* oklch */ color: oklch(75.8% 0.186 326.9);
Tailwind
colors: {
  custom: {
    50: '#f4a9f3',
    500: '#ec81ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec81ed;
$custom-light: #f4a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec81ed",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 299.444,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75771,
    "c": 0.18561,
    "h": 326.9
  },
  "luminance": 0.39648
}

Semantic roles & 50–950 ramp

primary
#EC81ED
secondary
#D7F3D7
accent
#D70E10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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