#FB96EF#FB96EF

#FB96EF is a light, vivid purple. Relative luminance 0.486; OKLCH L 80.6% C 0.163 H 331.4°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#FB96EF
RGBrgb(251, 150, 239)
HSLhsl(307, 93%, 79%)
HSVhsv(307, 40%, 98%)
CMYKcmyk(0%, 40.2%, 4.8%, 1.6%)
CIE-LABlab(75.18, 50.37, -28.76)
CIE-LCHlch(75.18, 58.00, 330.27°)
OKLaboklab(80.63% 0.1428 -0.0779)
OKLCHoklch(80.63% 0.163 331.4)
XYZxyz(66.2693, 48.5573, 87.5265)
Luminance0.4855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB96EF #96FBA2
analogous
#D496FB #FB96EF #FB96BC
triadic
#FB96EF #EFFB96 #96EFFB
tetradic
#FB96EF #FBD496 #96FBA2 #96BCFB
square
#FB96EF #FBD496 #96FBA2 #96BCFB
split-complementary
#FB96EF #BCFB96 #96FBD4
monochromatic
#F720DD #F95BE6 #FB96EF #FDD1F8 #FEE2FB

Accessibility & contrast

On white

1.96
#FB96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#FB96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB96EF
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB96EF#FFFFFF#000000##000000
##FB96EF1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F2
Deuteranopia (green-blind)
#ADBEEC
Tritanopia (blue-blind)
#FF9DB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb96ef;
/* rgb */ color: rgb(251, 150, 239);
/* oklch */ color: oklch(80.6% 0.163 331.4);
Tailwind
colors: {
  custom: {
    50: '#feb7f4',
    500: '#fb96ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb96ef;
$custom-light: #feb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb96ef",
  "rgb": {
    "r": 251,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 307.129,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80629,
    "c": 0.16267,
    "h": 331.4
  },
  "luminance": 0.48554
}

Semantic roles & 50–950 ramp

primary
#FB96EF
secondary
#D5F6D9
accent
#E61B00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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