#BB96FF#BB96FF

#BB96FF is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.8% C 0.151 H 299.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#BB96FF
RGBrgb(187, 150, 255)
HSLhsl(261, 100%, 79%)
HSVhsv(261, 41%, 100%)
CMYKcmyk(26.7%, 41.2%, 0%, 0%)
CIE-LABlab(69.18, 34.97, -47.30)
CIE-LCHlch(69.18, 58.82, 306.48°)
OKLaboklab(74.83% 0.0731 -0.1322)
OKLCHoklch(74.83% 0.151 299)
XYZxyz(49.4457, 39.5972, 99.6264)
Luminance0.3960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96FF #DAFF96
analogous
#96A6FF #BB96FF #F096FF
triadic
#BB96FF #FFBB96 #96FFBB
tetradic
#BB96FF #FF96A6 #DAFF96 #96FFF0
square
#BB96FF #FF96A6 #DAFF96 #96FFF0
split-complementary
#BB96FF #FFF096 #A6FF96
monochromatic
#6C1CFF #9359FF #BB96FF #E3D3FF #EBE0FF

Accessibility & contrast

On white

2.35
#BB96FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#BB96FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96FF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96FF#FFFFFF#000000##000000
##BB96FF1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#80A8FC
Tritanopia (blue-blind)
#AEA8BE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb96ff;
/* rgb */ color: rgb(187, 150, 255);
/* oklch */ color: oklch(74.8% 0.151 299.0);
Tailwind
colors: {
  custom: {
    50: '#d1b5ff',
    500: '#bb96ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb96ff;
$custom-light: #d1b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96ff",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 261.143,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74835,
    "c": 0.15104,
    "h": 299
  },
  "luminance": 0.39597
}

Semantic roles & 50–950 ramp

primary
#BB96FF
secondary
#EBF7D4
accent
#E60095
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB96FF

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

Preview Lab → · Contrast checker → · Palette generator →

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