#FB81F0#FB81F0

#FB81F0 is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.7% C 0.198 H 330.7°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#FB81F0
RGBrgb(251, 129, 240)
HSLhsl(305, 94%, 75%)
HSVhsv(305, 49%, 98%)
CMYKcmyk(0%, 48.6%, 4.4%, 1.6%)
CIE-LABlab(71.22, 60.85, -35.42)
CIE-LCHlch(71.22, 70.40, 329.80°)
OKLaboklab(77.69% 0.1724 -0.0966)
OKLCHoklch(77.69% 0.198 330.7)
XYZxyz(63.3616, 42.5048, 87.2881)
Luminance0.4250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81F0 #81FB8C
analogous
#C981FB #FB81F0 #FB81B3
triadic
#FB81F0 #F0FB81 #81F0FB
tetradic
#FB81F0 #FBC981 #81FB8C #81B3FB
square
#FB81F0 #FBC981 #81FB8C #81B3FB
split-complementary
#FB81F0 #B3FB81 #81FBC9
monochromatic
#F70AE2 #F946E9 #FB81F0 #FDBCF7 #FEE1FB

Accessibility & contrast

On white

2.21
#FB81F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#FB81F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81F0
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81F0#FFFFFF#000000##000000
##FB81F01.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F4
Deuteranopia (green-blind)
#9FB4EC
Tritanopia (blue-blind)
#FF8BAE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb81f0;
/* rgb */ color: rgb(251, 129, 240);
/* oklch */ color: oklch(77.7% 0.198 330.7);
Tailwind
colors: {
  custom: {
    50: '#ffaaf5',
    500: '#fb81f0',
    950: '#000000',
  },
}
SCSS
$custom: #fb81f0;
$custom-light: #ffaaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81f0",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 240
  },
  "hsl": {
    "h": 305.41,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77688,
    "c": 0.19762,
    "h": 330.7
  },
  "luminance": 0.42501
}

Semantic roles & 50–950 ramp

primary
#FB81F0
secondary
#D5F6D8
accent
#E61500
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB81F0

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

Preview Lab → · Contrast checker → · Palette generator →

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