#FB81FC#FB81FC

#FB81FC is a light, highly saturated purple. Relative luminance 0.432; OKLCH L 78.2% C 0.208 H 327.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#FB81FC
RGBrgb(251, 129, 252)
HSLhsl(300, 95%, 75%)
HSVhsv(300, 49%, 99%)
CMYKcmyk(0.4%, 48.8%, 0%, 1.2%)
CIE-LABlab(71.72, 62.88, -41.20)
CIE-LCHlch(71.72, 75.17, 326.77°)
OKLaboklab(78.22% 0.1744 -0.1131)
OKLCHoklch(78.22% 0.208 327)
XYZxyz(65.2034, 43.2416, 96.9886)
Luminance0.4324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81FC #82FC81
analogous
#BD81FC #FB81FC #FC81C0
triadic
#FB81FC #FCFB81 #81FCFB
tetradic
#FB81FC #FCBD81 #82FC81 #81C0FC
square
#FB81FC #FCBD81 #82FC81 #81C0FC
split-complementary
#FB81FC #C0FC81 #81FCBD
monochromatic
#F709F9 #F945FB #FB81FC #FDBDFD #FEE1FE

Accessibility & contrast

On white

2.18
#FB81FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#FB81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81FC
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81FC#FFFFFF#000000##000000
##FB81FC1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#9AB5F8
Tritanopia (blue-blind)
#FF8EB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb81fc;
/* rgb */ color: rgb(251, 129, 252);
/* oklch */ color: oklch(78.2% 0.208 327.0);
Tailwind
colors: {
  custom: {
    50: '#ffaafd',
    500: '#fb81fc',
    950: '#000000',
  },
}
SCSS
$custom: #fb81fc;
$custom-light: #ffaafd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81fc",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 299.512,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.78223,
    "c": 0.20785,
    "h": 327
  },
  "luminance": 0.43238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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