#BB84F8#BB84F8

#BB84F8 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.171 H 304.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#BB84F8
RGBrgb(187, 132, 248)
HSLhsl(268, 89%, 75%)
HSVhsv(268, 47%, 97%)
CMYKcmyk(24.6%, 46.8%, 0%, 2.7%)
CIE-LABlab(64.84, 43.22, -50.32)
CIE-LCHlch(64.84, 66.34, 310.66°)
OKLaboklab(71.46% 0.0962 -0.1409)
OKLCHoklch(71.46% 0.171 304.3)
XYZxyz(45.6844, 33.8448, 92.9147)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84F8 #C1F884
analogous
#8487F8 #BB84F8 #F584F8
triadic
#BB84F8 #F8BB84 #84F8BB
tetradic
#BB84F8 #F88487 #C1F884 #84F8F5
square
#BB84F8 #F88487 #C1F884 #84F8F5
split-complementary
#BB84F8 #F8F584 #87F884
monochromatic
#7B10F1 #9B4AF5 #BB84F8 #DBBEFB #EFE2FD

Accessibility & contrast

On white

2.70
#BB84F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#BB84F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84F8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84F8#FFFFFF#000000##000000
##BB84F81.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#729DF5
Tritanopia (blue-blind)
#B198B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb84f8;
/* rgb */ color: rgb(187, 132, 248);
/* oklch */ color: oklch(71.5% 0.171 304.3);
Tailwind
colors: {
  custom: {
    50: '#d2a9fb',
    500: '#bb84f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb84f8;
$custom-light: #d2a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84f8",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 268.448,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71462,
    "c": 0.17061,
    "h": 304.3
  },
  "luminance": 0.33845
}

Semantic roles & 50–950 ramp

primary
#BB84F8
secondary
#E6F5D6
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB84F8

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

Preview Lab → · Contrast checker → · Palette generator →

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