#BB91F2#BB91F2

#BB91F2 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.3% C 0.142 H 303.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BB91F2
RGBrgb(187, 145, 242)
HSLhsl(266, 79%, 76%)
HSVhsv(266, 40%, 95%)
CMYKcmyk(22.7%, 40.1%, 0%, 5.1%)
CIE-LABlab(67.45, 34.70, -42.93)
CIE-LCHlch(67.45, 55.20, 308.95°)
OKLaboklab(73.33% 0.0776 -0.1195)
OKLCHoklch(73.33% 0.142 303)
XYZxyz(46.6425, 37.2264, 88.7154)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB91F2 #C8F291
analogous
#9197F2 #BB91F2 #EB91F2
triadic
#BB91F2 #F2BB91 #91F2BB
tetradic
#BB91F2 #F29197 #C8F291 #91F2EB
square
#BB91F2 #F29197 #C8F291 #91F2EB
split-complementary
#BB91F2 #F2EB91 #97F291
monochromatic
#7724E5 #995AEC #BB91F2 #DDC8F8 #EEE4FC

Accessibility & contrast

On white

2.49
#BB91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BB91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB91F2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB91F2#FFFFFF#000000##000000
##BB91F21.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#B2A1B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb91f2;
/* rgb */ color: rgb(187, 145, 242);
/* oklch */ color: oklch(73.3% 0.142 303.0);
Tailwind
colors: {
  custom: {
    50: '#d1b2f6',
    500: '#bb91f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb91f2;
$custom-light: #d1b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb91f2",
  "rgb": {
    "r": 187,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 265.979,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7333,
    "c": 0.14248,
    "h": 303
  },
  "luminance": 0.37226
}

Semantic roles & 50–950 ramp

primary
#BB91F2
secondary
#E7F4D7
accent
#DB0A81
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #BB91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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