#BB81E8#BB81E8

#BB81E8 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.156 H 308.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BB81E8
RGBrgb(187, 129, 232)
HSLhsl(274, 69%, 71%)
HSVhsv(274, 44%, 91%)
CMYKcmyk(19.4%, 44.4%, 0%, 9%)
CIE-LABlab(63.42, 41.24, -43.74)
CIE-LCHlch(63.42, 60.11, 313.31°)
OKLaboklab(70.15% 0.0981 -0.1218)
OKLCHoklch(70.15% 0.156 308.8)
XYZxyz(42.9065, 32.0921, 80.2623)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81E8 #AEE881
analogous
#8781E8 #BB81E8 #E881E2
triadic
#BB81E8 #E8BB81 #81E8BB
tetradic
#BB81E8 #E88781 #AEE881 #81E2E8
square
#BB81E8 #E88781 #AEE881 #81E2E8
split-complementary
#BB81E8 #E2E881 #81E887
monochromatic
#8225CA #9F4DDF #BB81E8 #D7B5F1 #F1E5FA

Accessibility & contrast

On white

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

On black

7.42
#BB81E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81E8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81E8#FFFFFF#000000##000000
##BB81E81.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EC
Deuteranopia (green-blind)
#789AE5
Tritanopia (blue-blind)
#B591A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb81e8;
/* rgb */ color: rgb(187, 129, 232);
/* oklch */ color: oklch(70.1% 0.156 308.8);
Tailwind
colors: {
  custom: {
    50: '#d1a7f0',
    500: '#bb81e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb81e8;
$custom-light: #d1a7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81e8",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 273.786,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70148,
    "c": 0.15635,
    "h": 308.8
  },
  "luminance": 0.32092
}

Semantic roles & 50–950 ramp

primary
#BB81E8
secondary
#E1F0D5
accent
#D11467
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB81E8

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

Preview Lab → · Contrast checker → · Palette generator →

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