#BB91EB#BB91EB

#BB91EB is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.0% C 0.134 H 304.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#BB91EB
RGBrgb(187, 145, 235)
HSLhsl(268, 69%, 75%)
HSVhsv(268, 38%, 92%)
CMYKcmyk(20.4%, 38.3%, 0%, 7.8%)
CIE-LABlab(67.14, 33.10, -39.57)
CIE-LCHlch(67.14, 51.59, 309.92°)
OKLaboklab(72.99% 0.0763 -0.1098)
OKLCHoklch(72.99% 0.134 304.8)
XYZxyz(45.6112, 36.8139, 83.2841)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB91EB #C1EB91
analogous
#9194EB #BB91EB #E891EB
triadic
#BB91EB #EBBB91 #91EBBB
tetradic
#BB91EB #EB9194 #C1EB91 #91EBE8
square
#BB91EB #EB9194 #C1EB91 #91EBE8
split-complementary
#BB91EB #EBE891 #94EB91
monochromatic
#7B29D8 #9B5DE2 #BB91EB #DBC5F4 #EFE5FA

Accessibility & contrast

On white

2.51
#BB91EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#BB91EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB91EB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB91EB#FFFFFF#000000##000000
##BB91EB1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EE
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#B49FB3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb91eb;
/* rgb */ color: rgb(187, 145, 235);
/* oklch */ color: oklch(73.0% 0.134 304.8);
Tailwind
colors: {
  custom: {
    50: '#d1b1f2',
    500: '#bb91eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb91eb;
$custom-light: #d1b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb91eb",
  "rgb": {
    "r": 187,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 268,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72994,
    "c": 0.13367,
    "h": 304.8
  },
  "luminance": 0.36814
}

Semantic roles & 50–950 ramp

primary
#BB91EB
secondary
#E6F2D9
accent
#D11479
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141117
muted
#828085

Preview Lab

Preview with #BB91EB

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

Preview Lab → · Contrast checker → · Palette generator →

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