#BB81FB#BB81FB

#BB81FB is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.1% C 0.179 H 304.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#BB81FB
RGBrgb(187, 129, 251)
HSLhsl(269, 94%, 75%)
HSVhsv(269, 49%, 98%)
CMYKcmyk(25.5%, 48.6%, 0%, 1.6%)
CIE-LABlab(64.35, 45.53, -52.75)
CIE-LCHlch(64.35, 69.68, 310.80°)
OKLaboklab(71.14% 0.1005 -0.148)
OKLCHoklch(71.14% 0.179 304.2)
XYZxyz(45.7526, 33.2305, 95.2519)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81FB #C1FB81
analogous
#8184FB #BB81FB #F881FB
triadic
#BB81FB #FBBB81 #81FBBB
tetradic
#BB81FB #FB8184 #C1FB81 #81FBF8
square
#BB81FB #FB8184 #C1FB81 #81FBF8
split-complementary
#BB81FB #FBF881 #84FB81
monochromatic
#7B0AF7 #9B46F9 #BB81FB #DBBCFD #EFE1FE

Accessibility & contrast

On white

2.75
#BB81FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#BB81FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81FB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81FB#FFFFFF#000000##000000
##BB81FB1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#B097B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb81fb;
/* rgb */ color: rgb(187, 129, 251);
/* oklch */ color: oklch(71.1% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#d2a7fd',
    500: '#bb81fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb81fb;
$custom-light: #d2a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81fb",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 268.525,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71144,
    "c": 0.17888,
    "h": 304.2
  },
  "luminance": 0.3323
}

Semantic roles & 50–950 ramp

primary
#BB81FB
secondary
#E6F6D5
accent
#E60078
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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