#FB81FB#FB81FB

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

Color values

HEX#FB81FB
RGBrgb(251, 129, 251)
HSLhsl(300, 94%, 75%)
HSVhsv(300, 49%, 98%)
CMYKcmyk(0%, 48.6%, 0%, 1.6%)
CIE-LABlab(71.68, 62.71, -40.72)
CIE-LCHlch(71.68, 74.77, 327.00°)
OKLaboklab(78.18% 0.1742 -0.1117)
OKLCHoklch(78.18% 0.207 327.3)
XYZxyz(65.0454, 43.1783, 96.1562)
Luminance0.4318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81FB #81FB81
analogous
#BE81FB #FB81FB #FB81BE
triadic
#FB81FB #FBFB81 #81FBFB
tetradic
#FB81FB #FBBE81 #81FB81 #81BEFB
square
#FB81FB #FBBE81 #81FB81 #81BEFB
split-complementary
#FB81FB #BEFB81 #81FBBE
monochromatic
#F70AF7 #F946F9 #FB81FB #FDBCFD #FEE1FE

Accessibility & contrast

On white

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

On black

9.64
#FB81FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81FB
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81FB#FFFFFF#000000##000000
##FB81FB1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FF
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#FF8EB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb81fb;
/* rgb */ color: rgb(251, 129, 251);
/* oklch */ color: oklch(78.2% 0.207 327.3);
Tailwind
colors: {
  custom: {
    50: '#ffaafd',
    500: '#fb81fb',
    950: '#000000',
  },
}
SCSS
$custom: #fb81fb;
$custom-light: #ffaafd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81fb",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.78178,
    "c": 0.20698,
    "h": 327.3
  },
  "luminance": 0.43175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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