#BB84E7#BB84E7

#BB84E7 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.6% C 0.150 H 308.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#BB84E7
RGBrgb(187, 132, 231)
HSLhsl(273, 67%, 71%)
HSVhsv(273, 43%, 91%)
CMYKcmyk(19%, 42.9%, 0%, 9.4%)
CIE-LABlab(64.03, 39.38, -42.23)
CIE-LCHlch(64.03, 57.74, 313.00°)
OKLaboklab(70.59% 0.0937 -0.1174)
OKLCHoklch(70.59% 0.15 308.6)
XYZxyz(43.1658, 32.8374, 79.6501)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84E7 #B0E784
analogous
#8984E7 #BB84E7 #E784E2
triadic
#BB84E7 #E7BB84 #84E7BB
tetradic
#BB84E7 #E78984 #B0E784 #84E2E7
square
#BB84E7 #E78984 #B0E784 #84E2E7
split-complementary
#BB84E7 #E2E784 #84E789
monochromatic
#8127C9 #9F51DD #BB84E7 #D7B7F1 #F1E5FA

Accessibility & contrast

On white

2.78
#BB84E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#BB84E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84E7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84E7#FFFFFF#000000##000000
##BB84E71.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EB
Deuteranopia (green-blind)
#7B9CE4
Tritanopia (blue-blind)
#B593AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb84e7;
/* rgb */ color: rgb(187, 132, 231);
/* oklch */ color: oklch(70.6% 0.150 308.6);
Tailwind
colors: {
  custom: {
    50: '#d1a9ef',
    500: '#bb84e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb84e7;
$custom-light: #d1a9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84e7",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 231
  },
  "hsl": {
    "h": 273.333,
    "s": 67.347,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70591,
    "c": 0.15023,
    "h": 308.6
  },
  "luminance": 0.32837
}

Semantic roles & 50–950 ramp

primary
#BB84E7
secondary
#E2F0D6
accent
#CF1668
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BB84E7

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

Preview Lab → · Contrast checker → · Palette generator →

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