#FB81FA#FB81FA

#FB81FA is a light, highly saturated purple. Relative luminance 0.431; OKLCH L 78.1% C 0.206 H 327.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#FB81FA
RGBrgb(251, 129, 250)
HSLhsl(300, 94%, 75%)
HSVhsv(300, 49%, 98%)
CMYKcmyk(0%, 48.6%, 0.4%, 1.6%)
CIE-LABlab(71.63, 62.53, -40.24)
CIE-LCHlch(71.63, 74.36, 327.24°)
OKLaboklab(78.13% 0.1741 -0.1103)
OKLCHoklch(78.13% 0.206 327.6)
XYZxyz(64.8882, 43.1155, 95.3282)
Luminance0.4311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81FA #81FB82
analogous
#BF81FB #FB81FA #FB81BD
triadic
#FB81FA #FAFB81 #81FAFB
tetradic
#FB81FA #FBBF81 #81FB82 #81BDFB
square
#FB81FA #FBBF81 #81FB82 #81BDFB
split-complementary
#FB81FA #BDFB81 #81FBBF
monochromatic
#F70AF5 #F946F8 #FB81FA #FDBCFC #FEE1FE

Accessibility & contrast

On white

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

On black

9.62
#FB81FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81FA
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81FA#FFFFFF#000000##000000
##FB81FA1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#9AB5F6
Tritanopia (blue-blind)
#FF8EB2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb81fa;
/* rgb */ color: rgb(251, 129, 250);
/* oklch */ color: oklch(78.1% 0.206 327.6);
Tailwind
colors: {
  custom: {
    50: '#ffaafc',
    500: '#fb81fa',
    950: '#000000',
  },
}
SCSS
$custom: #fb81fa;
$custom-light: #ffaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81fa",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 300.492,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.78132,
    "c": 0.20611,
    "h": 327.6
  },
  "luminance": 0.43112
}

Semantic roles & 50–950 ramp

primary
#FB81FA
secondary
#D5F6D5
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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