#FB81E9#FB81E9

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

Color values

HEX#FB81E9
RGBrgb(251, 129, 233)
HSLhsl(309, 94%, 75%)
HSVhsv(309, 49%, 98%)
CMYKcmyk(0%, 48.6%, 7.2%, 1.6%)
CIE-LABlab(70.94, 59.70, -32.01)
CIE-LCHlch(70.94, 67.74, 331.80°)
OKLaboklab(77.39% 0.1711 -0.0869)
OKLCHoklch(77.39% 0.192 333.1)
XYZxyz(62.3417, 42.0969, 81.9169)
Luminance0.4209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81E9 #81FB93
analogous
#D081FB #FB81E9 #FB81AC
triadic
#FB81E9 #E9FB81 #81E9FB
tetradic
#FB81E9 #FBD081 #81FB93 #81ACFB
square
#FB81E9 #FBD081 #81FB93 #81ACFB
split-complementary
#FB81E9 #ACFB81 #81FBD0
monochromatic
#F70AD4 #F946DF #FB81E9 #FDBCF3 #FEE1FA

Accessibility & contrast

On white

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

On black

9.42
#FB81E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81E9
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81E9#FFFFFF#000000##000000
##FB81E91.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#A1B4E6
Tritanopia (blue-blind)
#FF89AA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb81e9;
/* rgb */ color: rgb(251, 129, 233);
/* oklch */ color: oklch(77.4% 0.192 333.1);
Tailwind
colors: {
  custom: {
    50: '#ffa9f0',
    500: '#fb81e9',
    950: '#000000',
  },
}
SCSS
$custom: #fb81e9;
$custom-light: #ffa9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81e9",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 308.852,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77389,
    "c": 0.1919,
    "h": 333.1
  },
  "luminance": 0.42093
}

Semantic roles & 50–950 ramp

primary
#FB81E9
secondary
#D5F6DA
accent
#E62200
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB81E9

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

Preview Lab → · Contrast checker → · Palette generator →

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