#BB91FE#BB91FE

#BB91FE is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.9% C 0.158 H 300.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#BB91FE
RGBrgb(187, 145, 254)
HSLhsl(263, 98%, 78%)
HSVhsv(263, 43%, 100%)
CMYKcmyk(26.4%, 42.9%, 0%, 0.4%)
CIE-LABlab(68.00, 37.50, -48.62)
CIE-LCHlch(68.00, 61.40, 307.64°)
OKLaboklab(73.93% 0.0797 -0.136)
OKLCHoklch(73.93% 0.158 300.4)
XYZxyz(48.5042, 37.9711, 98.5205)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB91FE #D4FE91
analogous
#919DFE #BB91FE #F191FE
triadic
#BB91FE #FEBB91 #91FEBB
tetradic
#BB91FE #FE919D #D4FE91 #91FEF1
square
#BB91FE #FE919D #D4FE91 #91FEF1
split-complementary
#BB91FE #FEF191 #9DFE91
monochromatic
#7018FD #9654FD #BB91FE #E0CEFF #ECE1FF

Accessibility & contrast

On white

2.44
#BB91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#BB91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB91FE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB91FE#FFFFFF#000000##000000
##BB91FE1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#AEA4BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb91fe;
/* rgb */ color: rgb(187, 145, 254);
/* oklch */ color: oklch(73.9% 0.158 300.4);
Tailwind
colors: {
  custom: {
    50: '#d1b2ff',
    500: '#bb91fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb91fe;
$custom-light: #d1b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb91fe",
  "rgb": {
    "r": 187,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 263.119,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73927,
    "c": 0.1576,
    "h": 300.4
  },
  "luminance": 0.37971
}

Semantic roles & 50–950 ramp

primary
#BB91FE
secondary
#EAF7D4
accent
#E6008D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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