#EC81F2#EC81F2

#EC81F2 is a light, vivid purple. Relative luminance 0.399; OKLCH L 76.0% C 0.190 H 325.3°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#EC81F2
RGBrgb(236, 129, 242)
HSLhsl(297, 81%, 73%)
HSVhsv(297, 47%, 95%)
CMYKcmyk(2.5%, 46.7%, 0%, 5.1%)
CIE-LABlab(69.43, 57.00, -39.44)
CIE-LCHlch(69.43, 69.31, 325.32°)
OKLaboklab(76% 0.1563 -0.1083)
OKLCHoklch(76% 0.19 325.3)
XYZxyz(58.4680, 39.9470, 88.6180)
Luminance0.3994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC81F2 #87F281
analogous
#B381F2 #EC81F2 #F281C0
triadic
#EC81F2 #F2EC81 #81F2EC
tetradic
#EC81F2 #F2B381 #87F281 #81C0F2
square
#EC81F2 #F2B381 #87F281 #81C0F2
split-complementary
#EC81F2 #C0F281 #81F2B3
monochromatic
#D717E1 #E44AEC #EC81F2 #F4B8F8 #FBE3FC

Accessibility & contrast

On white

2.34
#EC81F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#EC81F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC81F2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC81F2#FFFFFF#000000##000000
##EC81F21.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#94AEEF
Tritanopia (blue-blind)
#F18EAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec81f2;
/* rgb */ color: rgb(236, 129, 242);
/* oklch */ color: oklch(76.0% 0.190 325.3);
Tailwind
colors: {
  custom: {
    50: '#f4a9f6',
    500: '#ec81f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec81f2;
$custom-light: #f4a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec81f2",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 296.814,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.19017,
    "h": 325.3
  },
  "luminance": 0.39944
}

Semantic roles & 50–950 ramp

primary
#EC81F2
secondary
#D9F4D7
accent
#DE0813
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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