#BB91F7#BB91F7

#BB91F7 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.6% C 0.149 H 301.8°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#BB91F7
RGBrgb(187, 145, 247)
HSLhsl(265, 86%, 77%)
HSVhsv(265, 41%, 97%)
CMYKcmyk(24.3%, 41.3%, 0%, 3.1%)
CIE-LABlab(67.67, 35.86, -45.31)
CIE-LCHlch(67.67, 57.78, 308.36°)
OKLaboklab(73.58% 0.0785 -0.1264)
OKLCHoklch(73.58% 0.149 301.8)
XYZxyz(47.4037, 37.5309, 92.7245)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB91F7 #CDF791
analogous
#919AF7 #BB91F7 #EE91F7
triadic
#BB91F7 #F7BB91 #91F7BB
tetradic
#BB91F7 #F7919A #CDF791 #91F7EE
square
#BB91F7 #F7919A #CDF791 #91F7EE
split-complementary
#BB91F7 #F7EE91 #9AF791
monochromatic
#741FEF #9858F3 #BB91F7 #DECAFB #EDE2FD

Accessibility & contrast

On white

2.47
#BB91F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#BB91F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB91F7
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB91F7#FFFFFF#000000##000000
##BB91F71.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A4FB
Deuteranopia (green-blind)
#80A4F4
Tritanopia (blue-blind)
#B0A2B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb91f7;
/* rgb */ color: rgb(187, 145, 247);
/* oklch */ color: oklch(73.6% 0.149 301.8);
Tailwind
colors: {
  custom: {
    50: '#d1b2fa',
    500: '#bb91f7',
    950: '#000000',
  },
}
SCSS
$custom: #bb91f7;
$custom-light: #d1b2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb91f7",
  "rgb": {
    "r": 187,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 264.706,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73575,
    "c": 0.14878,
    "h": 301.8
  },
  "luminance": 0.37531
}

Semantic roles & 50–950 ramp

primary
#BB91F7
secondary
#E8F5D6
accent
#E30387
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB91F7

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

Preview Lab → · Contrast checker → · Palette generator →

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