#BB84EF#BB84EF

#BB84EF is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.0% C 0.160 H 306.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#BB84EF
RGBrgb(187, 132, 239)
HSLhsl(271, 77%, 73%)
HSVhsv(271, 45%, 94%)
CMYKcmyk(21.8%, 44.8%, 0%, 6.3%)
CIE-LABlab(64.40, 41.17, -46.06)
CIE-LCHlch(64.40, 61.77, 311.79°)
OKLaboklab(70.99% 0.095 -0.1285)
OKLCHoklch(70.99% 0.16 306.5)
XYZxyz(44.3216, 33.2997, 85.7372)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84EF #B8EF84
analogous
#8584EF #BB84EF #EF84ED
triadic
#BB84EF #EFBB84 #84EFBB
tetradic
#BB84EF #EF8584 #B8EF84 #84EDEF
square
#BB84EF #EF8584 #B8EF84 #84EDEF
split-complementary
#BB84EF #EDEF84 #84EF85
monochromatic
#7F1DDC #9D4EE8 #BB84EF #D9BAF6 #F0E4FB

Accessibility & contrast

On white

2.74
#BB84EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#BB84EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84EF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84EF#FFFFFF#000000##000000
##BB84EF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#B396AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb84ef;
/* rgb */ color: rgb(187, 132, 239);
/* oklch */ color: oklch(71.0% 0.160 306.5);
Tailwind
colors: {
  custom: {
    50: '#d1a9f4',
    500: '#bb84ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb84ef;
$custom-light: #d1a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84ef",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 270.841,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70993,
    "c": 0.15981,
    "h": 306.5
  },
  "luminance": 0.33299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB84EF

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

Preview Lab → · Contrast checker → · Palette generator →

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