#BB96F0#BB96F0

#BB96F0 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.1% C 0.132 H 302.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#BB96F0
RGBrgb(187, 150, 240)
HSLhsl(265, 75%, 76%)
HSVhsv(265, 38%, 94%)
CMYKcmyk(22.1%, 37.5%, 0%, 5.9%)
CIE-LABlab(68.51, 31.47, -40.17)
CIE-LCHlch(68.51, 51.02, 308.08°)
OKLaboklab(74.11% 0.0703 -0.1115)
OKLCHoklch(74.11% 0.132 302.2)
XYZxyz(47.1247, 38.6687, 87.4023)
Luminance0.3867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96F0 #CBF096
analogous
#969EF0 #BB96F0 #E896F0
triadic
#BB96F0 #F0BB96 #96F0BB
tetradic
#BB96F0 #F0969E #CBF096 #96F0E8
square
#BB96F0 #F0969E #CBF096 #96F0E8
split-complementary
#BB96F0 #F0E896 #9EF096
monochromatic
#762BE1 #9860E8 #BB96F0 #DECCF8 #EEE4FB

Accessibility & contrast

On white

2.40
#BB96F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#BB96F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96F0
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96F0#FFFFFF#000000##000000
##BB96F01.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F3
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#B2A4B8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb96f0;
/* rgb */ color: rgb(187, 150, 240);
/* oklch */ color: oklch(74.1% 0.132 302.2);
Tailwind
colors: {
  custom: {
    50: '#d1b5f5',
    500: '#bb96f0',
    950: '#000000',
  },
}
SCSS
$custom: #bb96f0;
$custom-light: #d1b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96f0",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 240
  },
  "hsl": {
    "h": 264.667,
    "s": 75,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74107,
    "c": 0.13184,
    "h": 302.2
  },
  "luminance": 0.38669
}

Semantic roles & 50–950 ramp

primary
#BB96F0
secondary
#E8F3D8
accent
#D70E85
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB96F0

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

Preview Lab → · Contrast checker → · Palette generator →

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