#FB81F2#FB81F2

#FB81F2 is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.8% C 0.199 H 330.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#FB81F2
RGBrgb(251, 129, 242)
HSLhsl(304, 94%, 75%)
HSVhsv(304, 49%, 98%)
CMYKcmyk(0%, 48.6%, 3.6%, 1.6%)
CIE-LABlab(71.30, 61.18, -36.39)
CIE-LCHlch(71.30, 71.18, 329.26°)
OKLaboklab(77.78% 0.1728 -0.0993)
OKLCHoklch(77.78% 0.199 330.1)
XYZxyz(63.6603, 42.6243, 88.8614)
Luminance0.4262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81F2 #81FB8A
analogous
#C781FB #FB81F2 #FB81B5
triadic
#FB81F2 #F2FB81 #81F2FB
tetradic
#FB81F2 #FBC781 #81FB8A #81B5FB
square
#FB81F2 #FBC781 #81FB8A #81B5FB
split-complementary
#FB81F2 #B5FB81 #81FBC7
monochromatic
#F70AE6 #F946EC #FB81F2 #FDBCF8 #FEE1FC

Accessibility & contrast

On white

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

On black

9.52
#FB81F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81F2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81F2#FFFFFF#000000##000000
##FB81F21.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#9EB5EE
Tritanopia (blue-blind)
#FF8BAF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb81f2;
/* rgb */ color: rgb(251, 129, 242);
/* oklch */ color: oklch(77.8% 0.199 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffaaf6',
    500: '#fb81f2',
    950: '#000000',
  },
}
SCSS
$custom: #fb81f2;
$custom-light: #ffaaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81f2",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 304.426,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77776,
    "c": 0.19929,
    "h": 330.1
  },
  "luminance": 0.42621
}

Semantic roles & 50–950 ramp

primary
#FB81F2
secondary
#D5F6D7
accent
#E61100
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FB81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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