#BB84E8#BB84E8

#BB84E8 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.6% C 0.151 H 308.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#BB84E8
RGBrgb(187, 132, 232)
HSLhsl(273, 68%, 71%)
HSVhsv(273, 43%, 91%)
CMYKcmyk(19.4%, 43.1%, 0%, 9%)
CIE-LABlab(64.08, 39.60, -42.71)
CIE-LCHlch(64.08, 58.24, 312.84°)
OKLaboklab(70.64% 0.0939 -0.1188)
OKLCHoklch(70.64% 0.151 308.3)
XYZxyz(43.3075, 32.8940, 80.3960)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84E8 #B1E884
analogous
#8984E8 #BB84E8 #E884E3
triadic
#BB84E8 #E8BB84 #84E8BB
tetradic
#BB84E8 #E88984 #B1E884 #84E3E8
square
#BB84E8 #E88984 #B1E884 #84E3E8
split-complementary
#BB84E8 #E3E884 #84E889
monochromatic
#8126CC #9E50DE #BB84E8 #D8B8F2 #F1E5FA

Accessibility & contrast

On white

2.77
#BB84E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#BB84E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84E8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84E8#FFFFFF#000000##000000
##BB84E81.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99EC
Deuteranopia (green-blind)
#7B9CE5
Tritanopia (blue-blind)
#B594AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb84e8;
/* rgb */ color: rgb(187, 132, 232);
/* oklch */ color: oklch(70.6% 0.151 308.3);
Tailwind
colors: {
  custom: {
    50: '#d1a9ef',
    500: '#bb84e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb84e8;
$custom-light: #d1a9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84e8",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 232
  },
  "hsl": {
    "h": 273,
    "s": 68.493,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7064,
    "c": 0.15143,
    "h": 308.3
  },
  "luminance": 0.32894
}

Semantic roles & 50–950 ramp

primary
#BB84E8
secondary
#E3F1D7
accent
#D01569
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BB84E8

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

Preview Lab → · Contrast checker → · Palette generator →

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