#FB81FE#FB81FE

#FB81FE is a light, highly saturated purple. Relative luminance 0.434; OKLCH L 78.3% C 0.210 H 326.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#FB81FE
RGBrgb(251, 129, 254)
HSLhsl(299, 98%, 75%)
HSVhsv(299, 49%, 100%)
CMYKcmyk(1.2%, 49.2%, 0%, 0.4%)
CIE-LABlab(71.80, 63.22, -42.15)
CIE-LCHlch(71.80, 75.99, 326.31°)
OKLaboklab(78.32% 0.1747 -0.1158)
OKLCHoklch(78.32% 0.21 326.4)
XYZxyz(65.5220, 43.3690, 98.6665)
Luminance0.4337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81FE #84FE81
analogous
#BC81FE #FB81FE #FE81C2
triadic
#FB81FE #FEFB81 #81FEFB
tetradic
#FB81FE #FEBC81 #84FE81 #81C2FE
square
#FB81FE #FEBC81 #84FE81 #81C2FE
split-complementary
#FB81FE #C2FE81 #81FEBC
monochromatic
#F708FD #F944FE #FB81FE #FDBEFE #FEE1FF

Accessibility & contrast

On white

2.17
#FB81FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#FB81FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81FE
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81FE#FFFFFF#000000##000000
##FB81FE1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#99B5FA
Tritanopia (blue-blind)
#FF8FB4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb81fe;
/* rgb */ color: rgb(251, 129, 254);
/* oklch */ color: oklch(78.3% 0.210 326.4);
Tailwind
colors: {
  custom: {
    50: '#ffaaff',
    500: '#fb81fe',
    950: '#000000',
  },
}
SCSS
$custom: #fb81fe;
$custom-light: #ffaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81fe",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 298.56,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78315,
    "c": 0.20959,
    "h": 326.4
  },
  "luminance": 0.43366
}

Semantic roles & 50–950 ramp

primary
#FB81FE
secondary
#D5F7D4
accent
#E60006
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FB81FE

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

Preview Lab → · Contrast checker → · Palette generator →

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