#BB81DD#BB81DD

#BB81DD is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.6% C 0.143 H 312.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BB81DD
RGBrgb(187, 129, 221)
HSLhsl(278, 58%, 69%)
HSVhsv(278, 42%, 87%)
CMYKcmyk(15.4%, 41.6%, 0%, 13.3%)
CIE-LABlab(62.92, 38.84, -38.41)
CIE-LCHlch(62.92, 54.63, 315.31°)
OKLaboklab(69.61% 0.0962 -0.1064)
OKLCHoklch(69.61% 0.143 312.1)
XYZxyz(41.3927, 31.4865, 72.2896)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81DD #A3DD81
analogous
#8D81DD #BB81DD #DD81D1
triadic
#BB81DD #DDBB81 #81DDBB
tetradic
#BB81DD #DD8D81 #A3DD81 #81D1DD
square
#BB81DD #DD8D81 #A3DD81 #81D1DD
split-complementary
#BB81DD #D1DD81 #81DD8D
monochromatic
#8330B3 #A151D0 #BB81DD #D5B1EA #EFE1F7

Accessibility & contrast

On white

2.88
#BB81DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BB81DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81DD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81DD#FFFFFF#000000##000000
##BB81DD1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95E0
Deuteranopia (green-blind)
#7D9ADA
Tritanopia (blue-blind)
#B88EA5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb81dd;
/* rgb */ color: rgb(187, 129, 221);
/* oklch */ color: oklch(69.6% 0.143 312.1);
Tailwind
colors: {
  custom: {
    50: '#d1a6e8',
    500: '#bb81dd',
    950: '#000000',
  },
}
SCSS
$custom: #bb81dd;
$custom-light: #d1a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81dd",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 277.826,
    "s": 57.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.14343,
    "h": 312.1
  },
  "luminance": 0.31486
}

Semantic roles & 50–950 ramp

primary
#BB81DD
secondary
#D9EBCF
accent
#C5205D
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB81DD

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

Preview Lab → · Contrast checker → · Palette generator →

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