#BB84F6#BB84F6

#BB84F6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.4% C 0.168 H 304.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#BB84F6
RGBrgb(187, 132, 246)
HSLhsl(269, 86%, 74%)
HSVhsv(269, 46%, 96%)
CMYKcmyk(24%, 46.3%, 0%, 3.5%)
CIE-LABlab(64.74, 42.76, -49.38)
CIE-LCHlch(64.74, 65.32, 310.89°)
OKLaboklab(71.36% 0.0959 -0.1382)
OKLCHoklch(71.36% 0.168 304.8)
XYZxyz(45.3758, 33.7214, 91.2893)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84F6 #BFF684
analogous
#8486F6 #BB84F6 #F484F6
triadic
#BB84F6 #F6BB84 #84F6BB
tetradic
#BB84F6 #F68486 #BFF684 #84F6F4
square
#BB84F6 #F68486 #BFF684 #84F6F4
split-complementary
#BB84F6 #F6F484 #86F684
monochromatic
#7C12EE #9B4BF2 #BB84F6 #DBBDFA #EFE2FD

Accessibility & contrast

On white

2.71
#BB84F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#BB84F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84F6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84F6#FFFFFF#000000##000000
##BB84F61.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BFA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#B198B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb84f6;
/* rgb */ color: rgb(187, 132, 246);
/* oklch */ color: oklch(71.4% 0.168 304.8);
Tailwind
colors: {
  custom: {
    50: '#d2a9f9',
    500: '#bb84f6',
    950: '#000000',
  },
}
SCSS
$custom: #bb84f6;
$custom-light: #d2a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84f6",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 246
  },
  "hsl": {
    "h": 268.947,
    "s": 86.364,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71357,
    "c": 0.16821,
    "h": 304.8
  },
  "luminance": 0.33721
}

Semantic roles & 50–950 ramp

primary
#BB84F6
secondary
#E6F5D6
accent
#E30377
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB84F6

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

Preview Lab → · Contrast checker → · Palette generator →

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