#FB81EA#FB81EA

#FB81EA is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.4% C 0.193 H 332.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#FB81EA
RGBrgb(251, 129, 234)
HSLhsl(308, 94%, 75%)
HSVhsv(308, 49%, 98%)
CMYKcmyk(0%, 48.6%, 6.8%, 1.6%)
CIE-LABlab(70.98, 59.86, -32.50)
CIE-LCHlch(70.98, 68.11, 331.50°)
OKLaboklab(77.43% 0.1713 -0.0883)
OKLCHoklch(77.43% 0.193 332.7)
XYZxyz(62.4850, 42.1542, 82.6714)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81EA #81FB92
analogous
#CF81FB #FB81EA #FB81AD
triadic
#FB81EA #EAFB81 #81EAFB
tetradic
#FB81EA #FBCF81 #81FB92 #81ADFB
square
#FB81EA #FBCF81 #81FB92 #81ADFB
split-complementary
#FB81EA #ADFB81 #81FBCF
monochromatic
#F70AD6 #F946E0 #FB81EA #FDBCF4 #FEE1FA

Accessibility & contrast

On white

2.23
#FB81EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#FB81EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81EA
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81EA#FFFFFF#000000##000000
##FB81EA1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#A1B4E7
Tritanopia (blue-blind)
#FF89AB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb81ea;
/* rgb */ color: rgb(251, 129, 234);
/* oklch */ color: oklch(77.4% 0.193 332.7);
Tailwind
colors: {
  custom: {
    50: '#ffa9f1',
    500: '#fb81ea',
    950: '#000000',
  },
}
SCSS
$custom: #fb81ea;
$custom-light: #ffa9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81ea",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 308.361,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77431,
    "c": 0.19271,
    "h": 332.7
  },
  "luminance": 0.4215
}

Semantic roles & 50–950 ramp

primary
#FB81EA
secondary
#D5F6D9
accent
#E62000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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