#FB81EF#FB81EF

#FB81EF is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.6% C 0.197 H 331.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#FB81EF
RGBrgb(251, 129, 239)
HSLhsl(306, 94%, 75%)
HSVhsv(306, 49%, 98%)
CMYKcmyk(0%, 48.6%, 4.8%, 1.6%)
CIE-LABlab(71.18, 60.68, -34.93)
CIE-LCHlch(71.18, 70.02, 330.07°)
OKLaboklab(77.65% 0.1722 -0.0952)
OKLCHoklch(77.65% 0.197 331.1)
XYZxyz(63.2134, 42.4456, 86.5079)
Luminance0.4244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81EF #81FB8D
analogous
#CA81FB #FB81EF #FB81B2
triadic
#FB81EF #EFFB81 #81EFFB
tetradic
#FB81EF #FBCA81 #81FB8D #81B2FB
square
#FB81EF #FBCA81 #81FB8D #81B2FB
split-complementary
#FB81EF #B2FB81 #81FBCA
monochromatic
#F70AE0 #F946E7 #FB81EF #FDBCF7 #FEE1FB

Accessibility & contrast

On white

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

On black

9.49
#FB81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81EF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81EF#FFFFFF#000000##000000
##FB81EF1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F3
Deuteranopia (green-blind)
#9FB4EB
Tritanopia (blue-blind)
#FF8AAD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb81ef;
/* rgb */ color: rgb(251, 129, 239);
/* oklch */ color: oklch(77.6% 0.197 331.1);
Tailwind
colors: {
  custom: {
    50: '#ffaaf4',
    500: '#fb81ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb81ef;
$custom-light: #ffaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81ef",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 305.902,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77645,
    "c": 0.19679,
    "h": 331.1
  },
  "luminance": 0.42442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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