#FB81EB#FB81EB

#FB81EB is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.5% C 0.194 H 332.4°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#FB81EB
RGBrgb(251, 129, 235)
HSLhsl(308, 94%, 75%)
HSVhsv(308, 49%, 98%)
CMYKcmyk(0%, 48.6%, 6.4%, 1.6%)
CIE-LABlab(71.02, 60.02, -32.99)
CIE-LCHlch(71.02, 68.49, 331.21°)
OKLaboklab(77.47% 0.1715 -0.0897)
OKLCHoklch(77.47% 0.194 332.4)
XYZxyz(62.6290, 42.2118, 83.4301)
Luminance0.4221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81EB #81FB91
analogous
#CE81FB #FB81EB #FB81AE
triadic
#FB81EB #EBFB81 #81EBFB
tetradic
#FB81EB #FBCE81 #81FB91 #81AEFB
square
#FB81EB #FBCE81 #81FB91 #81AEFB
split-complementary
#FB81EB #AEFB81 #81FBCE
monochromatic
#F70AD8 #F946E2 #FB81EB #FDBCF4 #FEE1FA

Accessibility & contrast

On white

2.22
#FB81EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#FB81EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81EB
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81EB#FFFFFF#000000##000000
##FB81EB1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb81eb;
/* rgb */ color: rgb(251, 129, 235);
/* oklch */ color: oklch(77.5% 0.194 332.4);
Tailwind
colors: {
  custom: {
    50: '#ffa9f1',
    500: '#fb81eb',
    950: '#000000',
  },
}
SCSS
$custom: #fb81eb;
$custom-light: #ffa9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81eb",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 307.869,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77473,
    "c": 0.19351,
    "h": 332.4
  },
  "luminance": 0.42208
}

Semantic roles & 50–950 ramp

primary
#FB81EB
secondary
#D5F6D9
accent
#E61E00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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