#EC81F9#EC81F9

#EC81F9 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.3% C 0.197 H 323.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#EC81F9
RGBrgb(236, 129, 249)
HSLhsl(294, 91%, 74%)
HSVhsv(294, 48%, 98%)
CMYKcmyk(5.2%, 48.2%, 0%, 2.4%)
CIE-LABlab(69.74, 58.27, -42.79)
CIE-LCHlch(69.74, 72.29, 323.70°)
OKLaboklab(76.32% 0.1574 -0.118)
OKLCHoklch(76.32% 0.197 323.1)
XYZxyz(59.5395, 40.3756, 94.2612)
Luminance0.4037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC81F9 #8EF981
analogous
#B081F9 #EC81F9 #F981CA
triadic
#EC81F9 #F9EC81 #81F9EC
tetradic
#EC81F9 #F9B081 #8EF981 #81CAF9
square
#EC81F9 #F9B081 #8EF981 #81CAF9
split-complementary
#EC81F9 #CAF981 #81F9B0
monochromatic
#DA0CF3 #E347F6 #EC81F9 #F5BBFC #FBE2FE

Accessibility & contrast

On white

2.31
#EC81F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#EC81F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC81F9
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC81F9#FFFFFF#000000##000000
##EC81F91.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#91AFF6
Tritanopia (blue-blind)
#EF90B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec81f9;
/* rgb */ color: rgb(236, 129, 249);
/* oklch */ color: oklch(76.3% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#f4a9fb',
    500: '#ec81f9',
    950: '#000000',
  },
}
SCSS
$custom: #ec81f9;
$custom-light: #f4a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec81f9",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 293.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76322,
    "c": 0.19667,
    "h": 323.1
  },
  "luminance": 0.40373
}

Semantic roles & 50–950 ramp

primary
#EC81F9
secondary
#D9F6D5
accent
#E60019
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC81F9

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

Preview Lab → · Contrast checker → · Palette generator →

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