#BB81BB#BB81BB

#BB81BB is a light, moderate purple. Relative luminance 0.299; OKLCH L 68.1% C 0.106 H 326.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#BB81BB
RGBrgb(187, 129, 187)
HSLhsl(300, 30%, 62%)
HSVhsv(300, 31%, 73%)
CMYKcmyk(0%, 31%, 0%, 26.7%)
CIE-LABlab(61.53, 31.93, -21.45)
CIE-LCHlch(61.53, 38.47, 326.11°)
OKLaboklab(68.1% 0.0883 -0.0581)
OKLCHoklch(68.1% 0.106 326.7)
XYZxyz(37.3126, 29.8545, 50.8011)
Luminance0.2985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81BB #81BB81
analogous
#9E81BB #BB81BB #BB819E
triadic
#BB81BB #BBBB81 #81BBBB
tetradic
#BB81BB #BB9E81 #81BB81 #819EBB
square
#BB81BB #BB9E81 #81BB81 #819EBB
split-complementary
#BB81BB #9EBB81 #81BB9E
monochromatic
#7E447E #A559A5 #BB81BB #D0A9D0 #E6D0E6

Accessibility & contrast

On white

3.01
#BB81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#BB81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB81BB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81BB#FFFFFF#000000##000000
##BB81BB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D90BD
Deuteranopia (green-blind)
#8B97B9
Tritanopia (blue-blind)
#BF8696
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb81bb;
/* rgb */ color: rgb(187, 129, 187);
/* oklch */ color: oklch(68.1% 0.106 326.7);
Tailwind
colors: {
  custom: {
    50: '#d0a6cf',
    500: '#bb81bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb81bb;
$custom-light: #d0a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81bb",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 29.897,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.10573,
    "h": 326.7
  },
  "luminance": 0.29853
}

Semantic roles & 50–950 ramp

primary
#BB81BB
secondary
#C1D7C1
accent
#A93D3D
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BB81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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