#BB81E9#BB81E9

#BB81E9 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.158 H 308.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BB81E9
RGBrgb(187, 129, 233)
HSLhsl(273, 70%, 71%)
HSVhsv(273, 45%, 91%)
CMYKcmyk(19.7%, 44.6%, 0%, 8.6%)
CIE-LABlab(63.47, 41.46, -44.22)
CIE-LCHlch(63.47, 60.61, 313.15°)
OKLaboklab(70.2% 0.0982 -0.1232)
OKLCHoklch(70.2% 0.158 308.6)
XYZxyz(43.0489, 32.1490, 81.0125)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81E9 #AFE981
analogous
#8781E9 #BB81E9 #E981E3
triadic
#BB81E9 #E9BB81 #81E9BB
tetradic
#BB81E9 #E98781 #AFE981 #81E3E9
square
#BB81E9 #E98781 #AFE981 #81E3E9
split-complementary
#BB81E9 #E3E981 #81E987
monochromatic
#8224CC #9F4DE0 #BB81E9 #D7B5F2 #F1E5FA

Accessibility & contrast

On white

2.83
#BB81E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#BB81E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81E9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81E9#FFFFFF#000000##000000
##BB81E91.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897ED
Deuteranopia (green-blind)
#779AE6
Tritanopia (blue-blind)
#B592AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb81e9;
/* rgb */ color: rgb(187, 129, 233);
/* oklch */ color: oklch(70.2% 0.158 308.6);
Tailwind
colors: {
  custom: {
    50: '#d1a7f0',
    500: '#bb81e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb81e9;
$custom-light: #d1a7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81e9",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 273.462,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70199,
    "c": 0.15753,
    "h": 308.6
  },
  "luminance": 0.32149
}

Semantic roles & 50–950 ramp

primary
#BB81E9
secondary
#E1F1D5
accent
#D21368
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB81E9

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

Preview Lab → · Contrast checker → · Palette generator →

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