#FF81EC#FF81EC

#FF81EC is a light, vivid purple. Relative luminance 0.430; OKLCH L 78.0% C 0.197 H 333.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#FF81EC
RGBrgb(255, 129, 236)
HSLhsl(309, 100%, 75%)
HSVhsv(309, 49%, 100%)
CMYKcmyk(0%, 49.4%, 7.5%, 0%)
CIE-LABlab(71.57, 61.32, -32.64)
CIE-LCHlch(71.57, 69.46, 331.97°)
OKLaboklab(78% 0.176 -0.0886)
OKLCHoklch(78% 0.197 333.3)
XYZxyz(64.2305, 43.0208, 84.2614)
Luminance0.4302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF81EC #81FF94
analogous
#D381FF #FF81EC #FF81AD
triadic
#FF81EC #ECFF81 #81ECFF
tetradic
#FF81EC #FFD381 #81FF94 #81ADFF
square
#FF81EC #FFD381 #81FF94 #81ADFF
split-complementary
#FF81EC #ADFF81 #81FFD3
monochromatic
#FF07DA #FF44E3 #FF81EC #FFBEF5 #FFE0FA

Accessibility & contrast

On white

2.19
#FF81EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#FF81EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF81EC
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF81EC#FFFFFF#000000##000000
##FF81EC1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4F0
Deuteranopia (green-blind)
#A3B6E8
Tritanopia (blue-blind)
#FF89AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ff81ec;
/* rgb */ color: rgb(255, 129, 236);
/* oklch */ color: oklch(78.0% 0.197 333.3);
Tailwind
colors: {
  custom: {
    50: '#ffaaf2',
    500: '#ff81ec',
    950: '#000000',
  },
}
SCSS
$custom: #ff81ec;
$custom-light: #ffaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff81ec",
  "rgb": {
    "r": 255,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 309.048,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78003,
    "c": 0.19702,
    "h": 333.3
  },
  "luminance": 0.43017
}

Semantic roles & 50–950 ramp

primary
#FF81EC
secondary
#D4F7D9
accent
#E62300
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FF81EC

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

Preview Lab → · Contrast checker → · Palette generator →

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