#BB96FC#BB96FC

#BB96FC is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.7% C 0.147 H 299.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BB96FC
RGBrgb(187, 150, 252)
HSLhsl(262, 94%, 79%)
HSVhsv(262, 40%, 99%)
CMYKcmyk(25.8%, 40.5%, 0%, 1.2%)
CIE-LABlab(69.04, 34.26, -45.88)
CIE-LCHlch(69.04, 57.26, 306.75°)
OKLaboklab(74.69% 0.0726 -0.1281)
OKLCHoklch(74.69% 0.147 299.5)
XYZxyz(48.9665, 39.4055, 97.1029)
Luminance0.3941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96FC #D7FC96
analogous
#96A4FC #BB96FC #EE96FC
triadic
#BB96FC #FCBB96 #96FCBB
tetradic
#BB96FC #FC96A4 #D7FC96 #96FCEE
square
#BB96FC #FC96A4 #D7FC96 #96FCEE
split-complementary
#BB96FC #FCEE96 #A4FC96
monochromatic
#6E1FF9 #945BFA #BB96FC #E2D2FE #ECE1FE

Accessibility & contrast

On white

2.36
#BB96FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#BB96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96FC
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96FC#FFFFFF#000000##000000
##BB96FC1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb96fc;
/* rgb */ color: rgb(187, 150, 252);
/* oklch */ color: oklch(74.7% 0.147 299.5);
Tailwind
colors: {
  custom: {
    50: '#d1b5fe',
    500: '#bb96fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb96fc;
$custom-light: #d1b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96fc",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 261.765,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74686,
    "c": 0.14721,
    "h": 299.5
  },
  "luminance": 0.39406
}

Semantic roles & 50–950 ramp

primary
#BB96FC
secondary
#EAF6D5
accent
#E60092
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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