#BB96EB#BB96EB

#BB96EB is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.125 H 303.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#BB96EB
RGBrgb(187, 150, 235)
HSLhsl(266, 68%, 75%)
HSVhsv(266, 36%, 92%)
CMYKcmyk(20.4%, 36.2%, 0%, 7.8%)
CIE-LABlab(68.30, 30.33, -37.76)
CIE-LCHlch(68.30, 48.43, 308.77°)
OKLaboklab(73.87% 0.0692 -0.1046)
OKLCHoklch(73.87% 0.125 303.5)
XYZxyz(46.3921, 38.3757, 83.5444)
Luminance0.3838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96EB #C6EB96
analogous
#969BEB #BB96EB #E696EB
triadic
#BB96EB #EBBB96 #96EBBB
tetradic
#BB96EB #EB969B #C6EB96 #96EBE6
square
#BB96EB #EB969B #C6EB96 #96EBE6
split-complementary
#BB96EB #EBE696 #9BEB96
monochromatic
#782FD7 #9A63E1 #BB96EB #DCC9F5 #EEE5FA

Accessibility & contrast

On white

2.42
#BB96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#BB96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96EB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96EB#FFFFFF#000000##000000
##BB96EB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EE
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#B3A3B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb96eb;
/* rgb */ color: rgb(187, 150, 235);
/* oklch */ color: oklch(73.9% 0.125 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0b5f1',
    500: '#bb96eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb96eb;
$custom-light: #d0b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96eb",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 266.118,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.12544,
    "h": 303.5
  },
  "luminance": 0.38376
}

Semantic roles & 50–950 ramp

primary
#BB96EB
secondary
#E7F2D9
accent
#D0167F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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