#BB91FC#BB91FC

#BB91FC is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.8% C 0.155 H 300.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BB91FC
RGBrgb(187, 145, 252)
HSLhsl(264, 95%, 78%)
HSVhsv(264, 42%, 99%)
CMYKcmyk(25.8%, 42.5%, 0%, 1.2%)
CIE-LABlab(67.91, 37.02, -47.67)
CIE-LCHlch(67.91, 60.36, 307.83°)
OKLaboklab(73.83% 0.0793 -0.1332)
OKLCHoklch(73.83% 0.155 300.8)
XYZxyz(48.1856, 37.8437, 96.8426)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB91FC #D2FC91
analogous
#919DFC #BB91FC #F091FC
triadic
#BB91FC #FCBB91 #91FCBB
tetradic
#BB91FC #FC919D #D2FC91 #91FCF0
square
#BB91FC #FC919D #D2FC91 #91FCF0
split-complementary
#BB91FC #FCF091 #9DFC91
monochromatic
#711AF9 #9655FA #BB91FC #E0CDFE #EDE1FE

Accessibility & contrast

On white

2.45
#BB91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BB91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB91FC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB91FC#FFFFFF#000000##000000
##BB91FC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#AFA3BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb91fc;
/* rgb */ color: rgb(187, 145, 252);
/* oklch */ color: oklch(73.8% 0.155 300.8);
Tailwind
colors: {
  custom: {
    50: '#d1b2fe',
    500: '#bb91fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb91fc;
$custom-light: #d1b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb91fc",
  "rgb": {
    "r": 187,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 263.551,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73826,
    "c": 0.15507,
    "h": 300.8
  },
  "luminance": 0.37844
}

Semantic roles & 50–950 ramp

primary
#BB91FC
secondary
#E9F6D5
accent
#E6008B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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