#BB96EA#BB96EA

#BB96EA is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.8% C 0.124 H 303.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#BB96EA
RGBrgb(187, 150, 234)
HSLhsl(266, 67%, 75%)
HSVhsv(266, 36%, 92%)
CMYKcmyk(20.1%, 35.9%, 0%, 8.2%)
CIE-LABlab(68.25, 30.10, -37.28)
CIE-LCHlch(68.25, 47.91, 308.92°)
OKLaboklab(73.83% 0.069 -0.1032)
OKLCHoklch(73.83% 0.124 303.8)
XYZxyz(46.2481, 38.3181, 82.7856)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96EA #C5EA96
analogous
#969BEA #BB96EA #E596EA
triadic
#BB96EA #EABB96 #96EABB
tetradic
#BB96EA #EA969B #C5EA96 #96EAE5
square
#BB96EA #EA969B #C5EA96 #96EAE5
split-complementary
#BB96EA #EAE596 #9BEA96
monochromatic
#7930D6 #9A63E0 #BB96EA #DCC9F4 #EEE5FA

Accessibility & contrast

On white

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

On black

8.66
#BB96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96EA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96EA#FFFFFF#000000##000000
##BB96EA1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5ED
Deuteranopia (green-blind)
#8BA6E8
Tritanopia (blue-blind)
#B3A3B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb96ea;
/* rgb */ color: rgb(187, 150, 234);
/* oklch */ color: oklch(73.8% 0.124 303.8);
Tailwind
colors: {
  custom: {
    50: '#d0b5f1',
    500: '#bb96ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb96ea;
$custom-light: #d0b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96ea",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 266.429,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73828,
    "c": 0.12416,
    "h": 303.8
  },
  "luminance": 0.38318
}

Semantic roles & 50–950 ramp

primary
#BB96EA
secondary
#E7F1DA
accent
#CF177E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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