#FB81FF#FB81FF

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

Color values

HEX#FB81FF
RGBrgb(251, 129, 255)
HSLhsl(298, 100%, 75%)
HSVhsv(298, 49%, 100%)
CMYKcmyk(1.6%, 49.4%, 0%, 0%)
CIE-LABlab(71.85, 63.40, -42.63)
CIE-LCHlch(71.85, 76.40, 326.08°)
OKLaboklab(78.36% 0.1748 -0.1172)
OKLCHoklch(78.36% 0.21 326.2)
XYZxyz(65.6826, 43.4332, 99.5121)
Luminance0.4343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81FF #85FF81
analogous
#BC81FF #FB81FF #FF81C4
triadic
#FB81FF #FFFB81 #81FFFB
tetradic
#FB81FF #FFBC81 #85FF81 #81C4FF
square
#FB81FF #FFBC81 #85FF81 #81C4FF
split-complementary
#FB81FF #C4FF81 #81FFBC
monochromatic
#F707FF #F944FF #FB81FF #FDBEFF #FEE0FF

Accessibility & contrast

On white

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

On black

9.69
#FB81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81FF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81FF#FFFFFF#000000##000000
##FB81FF1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#98B6FB
Tritanopia (blue-blind)
#FF8FB5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb81ff;
/* rgb */ color: rgb(251, 129, 255);
/* oklch */ color: oklch(78.4% 0.210 326.2);
Tailwind
colors: {
  custom: {
    50: '#ffaaff',
    500: '#fb81ff',
    950: '#000000',
  },
}
SCSS
$custom: #fb81ff;
$custom-light: #ffaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81ff",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 298.095,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78361,
    "c": 0.21047,
    "h": 326.2
  },
  "luminance": 0.4343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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