#FB96FA#FB96FA

#FB96FA is a light, vivid purple. Relative luminance 0.492; OKLCH L 81.1% C 0.172 H 327.4°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#FB96FA
RGBrgb(251, 150, 250)
HSLhsl(301, 93%, 79%)
HSVhsv(301, 40%, 98%)
CMYKcmyk(0%, 40.2%, 0.4%, 1.6%)
CIE-LABlab(75.59, 52.27, -34.09)
CIE-LCHlch(75.59, 62.41, 326.89°)
OKLaboklab(81.08% 0.1452 -0.093)
OKLCHoklch(81.08% 0.172 327.4)
XYZxyz(67.9441, 49.2272, 96.3469)
Luminance0.4922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB96FA #96FB97
analogous
#C996FB #FB96FA #FB96C7
triadic
#FB96FA #FAFB96 #96FAFB
tetradic
#FB96FA #FBC996 #96FB97 #96C7FB
square
#FB96FA #FBC996 #96FB97 #96C7FB
split-complementary
#FB96FA #C7FB96 #96FBC9
monochromatic
#F720F4 #F95BF7 #FB96FA #FDD1FD #FEE2FE

Accessibility & contrast

On white

1.94
#FB96FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#FB96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB96FA
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB96FA#FFFFFF#000000##000000
##FB96FA1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FE
Deuteranopia (green-blind)
#A9BFF7
Tritanopia (blue-blind)
#FFA0BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fb96fa;
/* rgb */ color: rgb(251, 150, 250);
/* oklch */ color: oklch(81.1% 0.172 327.4);
Tailwind
colors: {
  custom: {
    50: '#feb7fc',
    500: '#fb96fa',
    950: '#000000',
  },
}
SCSS
$custom: #fb96fa;
$custom-light: #feb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb96fa",
  "rgb": {
    "r": 251,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 300.594,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81079,
    "c": 0.17245,
    "h": 327.4
  },
  "luminance": 0.49224
}

Semantic roles & 50–950 ramp

primary
#FB96FA
secondary
#D5F6D5
accent
#E60200
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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