#BB84EC#BB84EC

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

Color values

HEX#BB84EC
RGBrgb(187, 132, 236)
HSLhsl(272, 73%, 72%)
HSVhsv(272, 44%, 93%)
CMYKcmyk(20.8%, 44.1%, 0%, 7.5%)
CIE-LABlab(64.26, 40.49, -44.63)
CIE-LCHlch(64.26, 60.26, 312.22°)
OKLaboklab(70.84% 0.0945 -0.1244)
OKLCHoklch(70.84% 0.156 307.2)
XYZxyz(43.8821, 33.1239, 83.4224)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84EC #B5EC84
analogous
#8784EC #BB84EC #EC84E9
triadic
#BB84EC #ECBB84 #84ECBB
tetradic
#BB84EC #EC8784 #B5EC84 #84E9EC
square
#BB84EC #EC8784 #B5EC84 #84E9EC
split-complementary
#BB84EC #E9EC84 #84EC87
monochromatic
#8021D5 #9E4FE4 #BB84EC #D8B9F4 #F0E4FB

Accessibility & contrast

On white

2.75
#BB84EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#BB84EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84EC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84EC#FFFFFF#000000##000000
##BB84EC1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#B495AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb84ec;
/* rgb */ color: rgb(187, 132, 236);
/* oklch */ color: oklch(70.8% 0.156 307.2);
Tailwind
colors: {
  custom: {
    50: '#d1a9f2',
    500: '#bb84ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb84ec;
$custom-light: #d1a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84ec",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 271.731,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.15621,
    "h": 307.2
  },
  "luminance": 0.33123
}

Semantic roles & 50–950 ramp

primary
#BB84EC
secondary
#E5F3D8
accent
#D5106D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB84EC

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

Preview Lab → · Contrast checker → · Palette generator →

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