#BB84FB#BB84FB

#BB84FB is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.6% C 0.174 H 303.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BB84FB
RGBrgb(187, 132, 251)
HSLhsl(268, 94%, 75%)
HSVhsv(268, 47%, 98%)
CMYKcmyk(25.5%, 47.4%, 0%, 1.6%)
CIE-LABlab(64.99, 43.91, -51.73)
CIE-LCHlch(64.99, 67.86, 310.33°)
OKLaboklab(71.62% 0.0965 -0.145)
OKLCHoklch(71.62% 0.174 303.7)
XYZxyz(46.1536, 34.0325, 95.3855)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84FB #C4FB84
analogous
#8488FB #BB84FB #F684FB
triadic
#BB84FB #FBBB84 #84FBBB
tetradic
#BB84FB #FB8488 #C4FB84 #84FBF6
square
#BB84FB #FB8488 #C4FB84 #84FBF6
split-complementary
#BB84FB #FBF684 #88FB84
monochromatic
#790DF7 #9A49F9 #BB84FB #DCBFFD #EFE1FE

Accessibility & contrast

On white

2.69
#BB84FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#BB84FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84FB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84FB#FFFFFF#000000##000000
##BB84FB1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#B099B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb84fb;
/* rgb */ color: rgb(187, 132, 251);
/* oklch */ color: oklch(71.6% 0.174 303.7);
Tailwind
colors: {
  custom: {
    50: '#d2a9fd',
    500: '#bb84fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb84fb;
$custom-light: #d2a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84fb",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 267.731,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71622,
    "c": 0.17421,
    "h": 303.7
  },
  "luminance": 0.34032
}

Semantic roles & 50–950 ramp

primary
#BB84FB
secondary
#E7F6D5
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB84FB

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

Preview Lab → · Contrast checker → · Palette generator →

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