#BB96FB#BB96FB

#BB96FB is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.6% C 0.146 H 299.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BB96FB
RGBrgb(187, 150, 251)
HSLhsl(262, 93%, 79%)
HSVhsv(262, 40%, 98%)
CMYKcmyk(25.5%, 40.2%, 0%, 1.6%)
CIE-LABlab(69.00, 34.02, -45.41)
CIE-LCHlch(69.00, 56.74, 306.84°)
OKLaboklab(74.64% 0.0724 -0.1267)
OKLCHoklch(74.64% 0.146 299.8)
XYZxyz(48.8085, 39.3423, 96.2705)
Luminance0.3934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96FB #D6FB96
analogous
#96A3FB #BB96FB #ED96FB
triadic
#BB96FB #FBBB96 #96FBBB
tetradic
#BB96FB #FB96A3 #D6FB96 #96FBED
square
#BB96FB #FB96A3 #D6FB96 #96FBED
split-complementary
#BB96FB #FBED96 #A3FB96
monochromatic
#6F20F7 #955BF9 #BB96FB #E1D1FD #ECE2FE

Accessibility & contrast

On white

2.37
#BB96FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#BB96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96FB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96FB#FFFFFF#000000##000000
##BB96FB1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#AFA7BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb96fb;
/* rgb */ color: rgb(187, 150, 251);
/* oklch */ color: oklch(74.6% 0.146 299.8);
Tailwind
colors: {
  custom: {
    50: '#d1b5fd',
    500: '#bb96fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb96fb;
$custom-light: #d1b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96fb",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 261.98,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74636,
    "c": 0.14593,
    "h": 299.8
  },
  "luminance": 0.39343
}

Semantic roles & 50–950 ramp

primary
#BB96FB
secondary
#EAF6D5
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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