#FB96F3#FB96F3

#FB96F3 is a light, vivid purple. Relative luminance 0.488; OKLCH L 80.8% C 0.166 H 329.9°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#FB96F3
RGBrgb(251, 150, 243)
HSLhsl(305, 93%, 79%)
HSVhsv(305, 40%, 98%)
CMYKcmyk(0%, 40.2%, 3.2%, 1.6%)
CIE-LABlab(75.32, 51.05, -30.71)
CIE-LCHlch(75.32, 59.58, 328.97°)
OKLaboklab(80.79% 0.1437 -0.0834)
OKLCHoklch(80.79% 0.166 329.9)
XYZxyz(66.8668, 48.7963, 90.6732)
Luminance0.4879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB96F3 #96FB9E
analogous
#D096FB #FB96F3 #FB96C0
triadic
#FB96F3 #F3FB96 #96F3FB
tetradic
#FB96F3 #FBD096 #96FB9E #96C0FB
square
#FB96F3 #FBD096 #96FB9E #96C0FB
split-complementary
#FB96F3 #C0FB96 #96FBD0
monochromatic
#F720E6 #F95BEC #FB96F3 #FDD1FA #FEE2FC

Accessibility & contrast

On white

1.95
#FB96F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#FB96F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB96F3
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB96F3#FFFFFF#000000##000000
##FB96F31.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B1F6
Deuteranopia (green-blind)
#ACBEF0
Tritanopia (blue-blind)
#FF9EB9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb96f3;
/* rgb */ color: rgb(251, 150, 243);
/* oklch */ color: oklch(80.8% 0.166 329.9);
Tailwind
colors: {
  custom: {
    50: '#feb7f7',
    500: '#fb96f3',
    950: '#000000',
  },
}
SCSS
$custom: #fb96f3;
$custom-light: #feb7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb96f3",
  "rgb": {
    "r": 251,
    "g": 150,
    "b": 243
  },
  "hsl": {
    "h": 304.752,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.8079,
    "c": 0.16616,
    "h": 329.9
  },
  "luminance": 0.48793
}

Semantic roles & 50–950 ramp

primary
#FB96F3
secondary
#D5F6D8
accent
#E61200
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FB96F3

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

Preview Lab → · Contrast checker → · Palette generator →

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