#BB84EB#BB84EB

#BB84EB is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.8% C 0.155 H 307.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BB84EB
RGBrgb(187, 132, 235)
HSLhsl(272, 72%, 72%)
HSVhsv(272, 44%, 92%)
CMYKcmyk(20.4%, 43.8%, 0%, 7.8%)
CIE-LABlab(64.21, 40.27, -44.15)
CIE-LCHlch(64.21, 59.75, 312.37°)
OKLaboklab(70.79% 0.0944 -0.123)
OKLCHoklch(70.79% 0.155 307.5)
XYZxyz(43.7372, 33.0659, 82.6594)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84EB #B4EB84
analogous
#8884EB #BB84EB #EB84E7
triadic
#BB84EB #EBBB84 #84EBBB
tetradic
#BB84EB #EB8884 #B4EB84 #84E7EB
square
#BB84EB #EB8884 #B4EB84 #84E7EB
split-complementary
#BB84EB #E7EB84 #84EB88
monochromatic
#8022D2 #9E4FE2 #BB84EB #D8B9F4 #F0E5FB

Accessibility & contrast

On white

2.76
#BB84EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BB84EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84EB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84EB#FFFFFF#000000##000000
##BB84EB1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#B495AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb84eb;
/* rgb */ color: rgb(187, 132, 235);
/* oklch */ color: oklch(70.8% 0.155 307.5);
Tailwind
colors: {
  custom: {
    50: '#d1a9f2',
    500: '#bb84eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb84eb;
$custom-light: #d1a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84eb",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 272.039,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7079,
    "c": 0.15502,
    "h": 307.5
  },
  "luminance": 0.33065
}

Semantic roles & 50–950 ramp

primary
#BB84EB
secondary
#E5F2D8
accent
#D4116C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB84EB

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

Preview Lab → · Contrast checker → · Palette generator →

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