#BB81EB#BB81EB

#BB81EB is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.3% C 0.160 H 308.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#BB81EB
RGBrgb(187, 129, 235)
HSLhsl(273, 73%, 71%)
HSVhsv(273, 45%, 92%)
CMYKcmyk(20.4%, 45.1%, 0%, 7.8%)
CIE-LABlab(63.56, 41.90, -45.18)
CIE-LCHlch(63.56, 61.62, 312.85°)
OKLaboklab(70.3% 0.0985 -0.1259)
OKLCHoklch(70.3% 0.16 308)
XYZxyz(43.3363, 32.2640, 82.5257)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81EB #B1EB81
analogous
#8681EB #BB81EB #EB81E6
triadic
#BB81EB #EBBB81 #81EBBB
tetradic
#BB81EB #EB8681 #B1EB81 #81E6EB
square
#BB81EB #EB8681 #B1EB81 #81E6EB
split-complementary
#BB81EB #E6EB81 #81EB86
monochromatic
#8121D1 #9E4CE3 #BB81EB #D8B6F3 #F1E5FB

Accessibility & contrast

On white

2.82
#BB81EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#BB81EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81EB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81EB#FFFFFF#000000##000000
##BB81EB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798EF
Deuteranopia (green-blind)
#769BE8
Tritanopia (blue-blind)
#B492AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb81eb;
/* rgb */ color: rgb(187, 129, 235);
/* oklch */ color: oklch(70.3% 0.160 308.0);
Tailwind
colors: {
  custom: {
    50: '#d1a7f2',
    500: '#bb81eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb81eb;
$custom-light: #d1a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81eb",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 272.83,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.1599,
    "h": 308
  },
  "luminance": 0.32263
}

Semantic roles & 50–950 ramp

primary
#BB81EB
secondary
#E3F2D6
accent
#D5116A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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