#BB81DC#BB81DC

#BB81DC is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.142 H 312.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BB81DC
RGBrgb(187, 129, 220)
HSLhsl(278, 57%, 68%)
HSVhsv(278, 41%, 86%)
CMYKcmyk(15%, 41.4%, 0%, 13.7%)
CIE-LABlab(62.87, 38.62, -37.93)
CIE-LCHlch(62.87, 54.13, 315.52°)
OKLaboklab(69.56% 0.096 -0.105)
OKLCHoklch(69.56% 0.142 312.4)
XYZxyz(41.2598, 31.4334, 71.5900)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81DC #A2DC81
analogous
#8D81DC #BB81DC #DC81CF
triadic
#BB81DC #DCBB81 #81DCBB
tetradic
#BB81DC #DC8D81 #A2DC81 #81CFDC
square
#BB81DC #DC8D81 #A2DC81 #81CFDC
split-complementary
#BB81DC #CFDC81 #81DC8D
monochromatic
#8331B1 #A151CF #BB81DC #D5B1E9 #EFE1F7

Accessibility & contrast

On white

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

On black

7.29
#BB81DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81DC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81DC#FFFFFF#000000##000000
##BB81DC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#7E99D9
Tritanopia (blue-blind)
#B88EA4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb81dc;
/* rgb */ color: rgb(187, 129, 220);
/* oklch */ color: oklch(69.6% 0.142 312.4);
Tailwind
colors: {
  custom: {
    50: '#d1a6e7',
    500: '#bb81dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb81dc;
$custom-light: #d1a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81dc",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 278.242,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69559,
    "c": 0.14228,
    "h": 312.4
  },
  "luminance": 0.31433
}

Semantic roles & 50–950 ramp

primary
#BB81DC
secondary
#D9EACF
accent
#C4215C
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB81DC

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

Preview Lab → · Contrast checker → · Palette generator →

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