#BB96FA#BB96FA

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

Color values

HEX#BB96FA
RGBrgb(187, 150, 250)
HSLhsl(262, 91%, 78%)
HSVhsv(262, 40%, 98%)
CMYKcmyk(25.2%, 40%, 0%, 2%)
CIE-LABlab(68.95, 33.79, -44.94)
CIE-LCHlch(68.95, 56.22, 306.94°)
OKLaboklab(74.59% 0.0722 -0.1253)
OKLCHoklch(74.59% 0.145 300)
XYZxyz(48.6513, 39.2794, 95.4425)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96FA #D5FA96
analogous
#96A3FA #BB96FA #ED96FA
triadic
#BB96FA #FABB96 #96FABB
tetradic
#BB96FA #FA96A3 #D5FA96 #96FAED
square
#BB96FA #FA96A3 #D5FA96 #96FAED
split-complementary
#BB96FA #FAED96 #A3FA96
monochromatic
#6F21F4 #955CF7 #BB96FA #E1D0FD #ECE2FE

Accessibility & contrast

On white

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

On black

8.86
#BB96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96FA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96FA#FFFFFF#000000##000000
##BB96FA1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#83A8F7
Tritanopia (blue-blind)
#AFA7BC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb96fa;
/* rgb */ color: rgb(187, 150, 250);
/* oklch */ color: oklch(74.6% 0.145 300.0);
Tailwind
colors: {
  custom: {
    50: '#d1b5fc',
    500: '#bb96fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb96fa;
$custom-light: #d1b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96fa",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 262.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74587,
    "c": 0.14465,
    "h": 300
  },
  "luminance": 0.3928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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