#BB84EE#BB84EE

#BB84EE is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.9% C 0.159 H 306.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#BB84EE
RGBrgb(187, 132, 238)
HSLhsl(271, 76%, 73%)
HSVhsv(271, 45%, 93%)
CMYKcmyk(21.4%, 44.5%, 0%, 6.7%)
CIE-LABlab(64.36, 40.94, -45.58)
CIE-LCHlch(64.36, 61.27, 311.93°)
OKLaboklab(70.94% 0.0948 -0.1271)
OKLCHoklch(70.94% 0.159 306.7)
XYZxyz(44.1743, 33.2408, 84.9613)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84EE #B7EE84
analogous
#8684EE #BB84EE #EE84EC
triadic
#BB84EE #EEBB84 #84EEBB
tetradic
#BB84EE #EE8684 #B7EE84 #84ECEE
square
#BB84EE #EE8684 #B7EE84 #84ECEE
split-complementary
#BB84EE #ECEE84 #84EE86
monochromatic
#7F1EDA #9D4EE7 #BB84EE #D9BAF5 #F0E4FB

Accessibility & contrast

On white

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

On black

7.65
#BB84EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84EE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84EE#FFFFFF#000000##000000
##BB84EE1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#B395AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb84ee;
/* rgb */ color: rgb(187, 132, 238);
/* oklch */ color: oklch(70.9% 0.159 306.7);
Tailwind
colors: {
  custom: {
    50: '#d1a9f4',
    500: '#bb84ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb84ee;
$custom-light: #d1a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84ee",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 238
  },
  "hsl": {
    "h": 271.132,
    "s": 75.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70942,
    "c": 0.15862,
    "h": 306.7
  },
  "luminance": 0.3324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB84EE

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

Preview Lab → · Contrast checker → · Palette generator →

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