#FB96FB#FB96FB

#FB96FB is a light, vivid purple. Relative luminance 0.493; OKLCH L 81.1% C 0.173 H 327.0°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#FB96FB
RGBrgb(251, 150, 251)
HSLhsl(300, 93%, 79%)
HSVhsv(300, 40%, 98%)
CMYKcmyk(0%, 40.2%, 0%, 1.6%)
CIE-LABlab(75.63, 52.45, -34.57)
CIE-LCHlch(75.63, 62.82, 326.61°)
OKLaboklab(81.12% 0.1454 -0.0944)
OKLCHoklch(81.12% 0.173 327)
XYZxyz(68.1013, 49.2901, 97.1748)
Luminance0.4929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB96FB #96FB96
analogous
#C896FB #FB96FB #FB96C8
triadic
#FB96FB #FBFB96 #96FBFB
tetradic
#FB96FB #FBC896 #96FB96 #96C8FB
square
#FB96FB #FBC896 #96FB96 #96C8FB
split-complementary
#FB96FB #C8FB96 #96FBC8
monochromatic
#F720F7 #F95BF9 #FB96FB #FDD1FD #FEE2FE

Accessibility & contrast

On white

1.93
#FB96FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#FB96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB96FB
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB96FB#FFFFFF#000000##000000
##FB96FB1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb96fb;
/* rgb */ color: rgb(251, 150, 251);
/* oklch */ color: oklch(81.1% 0.173 327.0);
Tailwind
colors: {
  custom: {
    50: '#feb7fd',
    500: '#fb96fb',
    950: '#000000',
  },
}
SCSS
$custom: #fb96fb;
$custom-light: #feb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb96fb",
  "rgb": {
    "r": 251,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81121,
    "c": 0.17337,
    "h": 327
  },
  "luminance": 0.49287
}

Semantic roles & 50–950 ramp

primary
#FB96FB
secondary
#D5F6D5
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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