#FB96FC#FB96FC

#FB96FC is a light, vivid purple. Relative luminance 0.493; OKLCH L 81.2% C 0.174 H 326.7°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#FB96FC
RGBrgb(251, 150, 252)
HSLhsl(299, 94%, 79%)
HSVhsv(299, 40%, 99%)
CMYKcmyk(0.4%, 40.5%, 0%, 1.2%)
CIE-LABlab(75.67, 52.63, -35.05)
CIE-LCHlch(75.67, 63.23, 326.33°)
OKLaboklab(81.16% 0.1457 -0.0957)
OKLCHoklch(81.16% 0.174 326.7)
XYZxyz(68.2593, 49.3533, 98.0072)
Luminance0.4935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB96FC #97FC96
analogous
#C896FC #FB96FC #FC96CA
triadic
#FB96FC #FCFB96 #96FCFB
tetradic
#FB96FC #FCC896 #97FC96 #96CAFC
square
#FB96FC #FCC896 #97FC96 #96CAFC
split-complementary
#FB96FC #CAFC96 #96FCC8
monochromatic
#F61FF9 #F95BFA #FB96FC #FDD2FE #FEE1FE

Accessibility & contrast

On white

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

On black

10.87
#FB96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB96FC
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB96FC#FFFFFF#000000##000000
##FB96FC1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb96fc;
/* rgb */ color: rgb(251, 150, 252);
/* oklch */ color: oklch(81.2% 0.174 326.7);
Tailwind
colors: {
  custom: {
    50: '#feb7fd',
    500: '#fb96fc',
    950: '#000000',
  },
}
SCSS
$custom: #fb96fc;
$custom-light: #feb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb96fc",
  "rgb": {
    "r": 251,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 299.412,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.81164,
    "c": 0.17429,
    "h": 326.7
  },
  "luminance": 0.4935
}

Semantic roles & 50–950 ramp

primary
#FB96FC
secondary
#D5F6D5
accent
#E60002
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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