#EC81F6#EC81F6

#EC81F6 is a light, vivid purple. Relative luminance 0.402; OKLCH L 76.2% C 0.194 H 324.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#EC81F6
RGBrgb(236, 129, 246)
HSLhsl(295, 87%, 74%)
HSVhsv(295, 48%, 96%)
CMYKcmyk(4.1%, 47.6%, 0%, 3.5%)
CIE-LABlab(69.60, 57.72, -41.36)
CIE-LCHlch(69.60, 71.01, 324.38°)
OKLaboklab(76.18% 0.1569 -0.1139)
OKLCHoklch(76.18% 0.194 324)
XYZxyz(59.0753, 40.1900, 91.8166)
Luminance0.4019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC81F6 #8BF681
analogous
#B181F6 #EC81F6 #F681C5
triadic
#EC81F6 #F6EC81 #81F6EC
tetradic
#EC81F6 #F6B181 #8BF681 #81C5F6
square
#EC81F6 #F6B181 #8BF681 #81C5F6
split-complementary
#EC81F6 #C5F681 #81F6B1
monochromatic
#D911EC #E348F2 #EC81F6 #F5BAFA #FBE2FD

Accessibility & contrast

On white

2.32
#EC81F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#EC81F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC81F6
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC81F6#FFFFFF#000000##000000
##EC81F61.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FA
Deuteranopia (green-blind)
#92AFF3
Tritanopia (blue-blind)
#F08FB0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec81f6;
/* rgb */ color: rgb(236, 129, 246);
/* oklch */ color: oklch(76.2% 0.194 324.0);
Tailwind
colors: {
  custom: {
    50: '#f4a9f9',
    500: '#ec81f6',
    950: '#000000',
  },
}
SCSS
$custom: #ec81f6;
$custom-light: #f4a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec81f6",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 294.872,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76182,
    "c": 0.19387,
    "h": 324
  },
  "luminance": 0.40187
}

Semantic roles & 50–950 ramp

primary
#EC81F6
secondary
#D9F5D6
accent
#E30216
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC81F6

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

Preview Lab → · Contrast checker → · Palette generator →

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