#FB96EC#FB96EC

#FB96EC is a light, vivid purple. Relative luminance 0.484; OKLCH L 80.5% C 0.160 H 332.5°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#FB96EC
RGBrgb(251, 150, 236)
HSLhsl(309, 93%, 79%)
HSVhsv(309, 40%, 98%)
CMYKcmyk(0%, 40.2%, 6%, 1.6%)
CIE-LABlab(75.06, 49.86, -27.30)
CIE-LCHlch(75.06, 56.85, 331.30°)
OKLaboklab(80.51% 0.1421 -0.0738)
OKLCHoklch(80.51% 0.16 332.5)
XYZxyz(65.8298, 48.3815, 85.2117)
Luminance0.4838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB96EC #96FBA5
analogous
#D796FB #FB96EC #FB96B9
triadic
#FB96EC #ECFB96 #96ECFB
tetradic
#FB96EC #FBD796 #96FBA5 #96B9FB
square
#FB96EC #FBD796 #96FBA5 #96B9FB
split-complementary
#FB96EC #B9FB96 #96FBD7
monochromatic
#F720D7 #F95BE1 #FB96EC #FDD1F7 #FEE2FA

Accessibility & contrast

On white

1.97
#FB96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#FB96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB96EC
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB96EC#FFFFFF#000000##000000
##FB96EC1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EF
Deuteranopia (green-blind)
#AEBEE9
Tritanopia (blue-blind)
#FF9CB6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb96ec;
/* rgb */ color: rgb(251, 150, 236);
/* oklch */ color: oklch(80.5% 0.160 332.5);
Tailwind
colors: {
  custom: {
    50: '#feb7f2',
    500: '#fb96ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb96ec;
$custom-light: #feb7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb96ec",
  "rgb": {
    "r": 251,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 308.911,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.8051,
    "c": 0.16011,
    "h": 332.5
  },
  "luminance": 0.48378
}

Semantic roles & 50–950 ramp

primary
#FB96EC
secondary
#D5F6DA
accent
#E62200
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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