#BB96E7#BB96E7

#BB96E7 is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.7% C 0.120 H 304.6°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#BB96E7
RGBrgb(187, 150, 231)
HSLhsl(267, 63%, 75%)
HSVhsv(267, 35%, 91%)
CMYKcmyk(19%, 35.1%, 0%, 9.4%)
CIE-LABlab(68.13, 29.43, -35.82)
CIE-LCHlch(68.13, 46.36, 309.40°)
OKLaboklab(73.69% 0.0683 -0.099)
OKLCHoklch(73.69% 0.12 304.6)
XYZxyz(45.8207, 38.1472, 80.5350)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96E7 #C2E796
analogous
#969AE7 #BB96E7 #E396E7
triadic
#BB96E7 #E7BB96 #96E7BB
tetradic
#BB96E7 #E7969A #C2E796 #96E7E3
square
#BB96E7 #E7969A #C2E796 #96E7E3
split-complementary
#BB96E7 #E7E396 #9AE796
monochromatic
#7A32D0 #9B64DC #BB96E7 #DBC8F2 #EFE6F9

Accessibility & contrast

On white

2.43
#BB96E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#BB96E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96E7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96E7#FFFFFF#000000##000000
##BB96E71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A5EA
Deuteranopia (green-blind)
#8CA6E5
Tritanopia (blue-blind)
#B4A2B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb96e7;
/* rgb */ color: rgb(187, 150, 231);
/* oklch */ color: oklch(73.7% 0.120 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0b5ef',
    500: '#bb96e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb96e7;
$custom-light: #d0b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96e7",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 231
  },
  "hsl": {
    "h": 267.407,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73691,
    "c": 0.12033,
    "h": 304.6
  },
  "luminance": 0.38147
}

Semantic roles & 50–950 ramp

primary
#BB96E7
secondary
#E6F1DA
accent
#CB1B7A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96E7

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

Preview Lab → · Contrast checker → · Palette generator →

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