#FB81ED#FB81ED

#FB81ED is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.6% C 0.195 H 331.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#FB81ED
RGBrgb(251, 129, 237)
HSLhsl(307, 94%, 75%)
HSVhsv(307, 49%, 98%)
CMYKcmyk(0%, 48.6%, 5.6%, 1.6%)
CIE-LABlab(71.10, 60.35, -33.96)
CIE-LCHlch(71.10, 69.25, 330.63°)
OKLaboklab(77.56% 0.1719 -0.0924)
OKLCHoklch(77.56% 0.195 331.7)
XYZxyz(62.9196, 42.3280, 84.9604)
Luminance0.4232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81ED #81FB8F
analogous
#CC81FB #FB81ED #FB81B0
triadic
#FB81ED #EDFB81 #81EDFB
tetradic
#FB81ED #FBCC81 #81FB8F #81B0FB
square
#FB81ED #FBCC81 #81FB8F #81B0FB
split-complementary
#FB81ED #B0FB81 #81FBCC
monochromatic
#F70ADC #F946E5 #FB81ED #FDBCF5 #FEE1FB

Accessibility & contrast

On white

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

On black

9.46
#FB81ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81ED
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81ED#FFFFFF#000000##000000
##FB81ED1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F1
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#FF8AAC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb81ed;
/* rgb */ color: rgb(251, 129, 237);
/* oklch */ color: oklch(77.6% 0.195 331.7);
Tailwind
colors: {
  custom: {
    50: '#ffaaf3',
    500: '#fb81ed',
    950: '#000000',
  },
}
SCSS
$custom: #fb81ed;
$custom-light: #ffaaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81ed",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 306.885,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77559,
    "c": 0.19514,
    "h": 331.7
  },
  "luminance": 0.42324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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