#FB81F3#FB81F3

#FB81F3 is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 77.8% C 0.200 H 329.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#FB81F3
RGBrgb(251, 129, 243)
HSLhsl(304, 94%, 75%)
HSVhsv(304, 49%, 98%)
CMYKcmyk(0%, 48.6%, 3.2%, 1.6%)
CIE-LABlab(71.34, 61.35, -36.87)
CIE-LCHlch(71.34, 71.57, 328.99°)
OKLaboklab(77.82% 0.1729 -0.1007)
OKLCHoklch(77.82% 0.2 329.8)
XYZxyz(63.8109, 42.6846, 89.6545)
Luminance0.4268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81F3 #81FB89
analogous
#C681FB #FB81F3 #FB81B6
triadic
#FB81F3 #F3FB81 #81F3FB
tetradic
#FB81F3 #FBC681 #81FB89 #81B6FB
square
#FB81F3 #FBC681 #81FB89 #81B6FB
split-complementary
#FB81F3 #B6FB81 #81FBC6
monochromatic
#F70AE8 #F946ED #FB81F3 #FDBCF9 #FEE1FC

Accessibility & contrast

On white

2.20
#FB81F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#FB81F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81F3
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81F3#FFFFFF#000000##000000
##FB81F31.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F7
Deuteranopia (green-blind)
#9DB5EF
Tritanopia (blue-blind)
#FF8CAF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb81f3;
/* rgb */ color: rgb(251, 129, 243);
/* oklch */ color: oklch(77.8% 0.200 329.8);
Tailwind
colors: {
  custom: {
    50: '#ffaaf7',
    500: '#fb81f3',
    950: '#000000',
  },
}
SCSS
$custom: #fb81f3;
$custom-light: #ffaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81f3",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 303.934,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77819,
    "c": 0.20014,
    "h": 329.8
  },
  "luminance": 0.42681
}

Semantic roles & 50–950 ramp

primary
#FB81F3
secondary
#D5F6D7
accent
#E60F00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB81F3

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

Preview Lab → · Contrast checker → · Palette generator →

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