#BB96EF#BB96EF

#BB96EF is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.1% C 0.131 H 302.5°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#BB96EF
RGBrgb(187, 150, 239)
HSLhsl(265, 74%, 76%)
HSVhsv(265, 37%, 94%)
CMYKcmyk(21.8%, 37.2%, 0%, 6.3%)
CIE-LABlab(68.47, 31.24, -39.69)
CIE-LCHlch(68.47, 50.50, 308.21°)
OKLaboklab(74.06% 0.0701 -0.1101)
OKLCHoklch(74.06% 0.131 302.5)
XYZxyz(46.9765, 38.6095, 86.6222)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96EF #CAEF96
analogous
#969EEF #BB96EF #E896EF
triadic
#BB96EF #EFBB96 #96EFBB
tetradic
#BB96EF #EF969E #CAEF96 #96EFE8
square
#BB96EF #EF969E #CAEF96 #96EFE8
split-complementary
#BB96EF #EFE896 #9EEF96
monochromatic
#762CDF #9961E7 #BB96EF #DDCBF7 #EEE4FB

Accessibility & contrast

On white

2.41
#BB96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#BB96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96EF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96EF#FFFFFF#000000##000000
##BB96EF1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#B2A4B7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb96ef;
/* rgb */ color: rgb(187, 150, 239);
/* oklch */ color: oklch(74.1% 0.131 302.5);
Tailwind
colors: {
  custom: {
    50: '#d1b5f4',
    500: '#bb96ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb96ef;
$custom-light: #d1b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96ef",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 264.944,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7406,
    "c": 0.13055,
    "h": 302.5
  },
  "luminance": 0.38609
}

Semantic roles & 50–950 ramp

primary
#BB96EF
secondary
#E8F3D8
accent
#D61083
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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