#BB81FE#BB81FE

#BB81FE is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.3% C 0.182 H 303.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#BB81FE
RGBrgb(187, 129, 254)
HSLhsl(268, 98%, 75%)
HSVhsv(268, 49%, 100%)
CMYKcmyk(26.4%, 49.2%, 0%, 0.4%)
CIE-LABlab(64.50, 46.23, -54.15)
CIE-LCHlch(64.50, 71.20, 310.49°)
OKLaboklab(71.31% 0.1008 -0.1521)
OKLCHoklch(71.31% 0.182 303.5)
XYZxyz(46.2293, 33.4212, 97.7622)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81FE #C4FE81
analogous
#8185FE #BB81FE #F981FE
triadic
#BB81FE #FEBB81 #81FEBB
tetradic
#BB81FE #FE8185 #C4FE81 #81FEF9
square
#BB81FE #FE8185 #C4FE81 #81FEF9
split-complementary
#BB81FE #FEF981 #85FE81
monochromatic
#7908FD #9A44FE #BB81FE #DCBEFE #EFE1FF

Accessibility & contrast

On white

2.73
#BB81FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#BB81FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81FE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81FE#FFFFFF#000000##000000
##BB81FE1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#AF97B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb81fe;
/* rgb */ color: rgb(187, 129, 254);
/* oklch */ color: oklch(71.3% 0.182 303.5);
Tailwind
colors: {
  custom: {
    50: '#d2a7ff',
    500: '#bb81fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb81fe;
$custom-light: #d2a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81fe",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 267.84,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.18244,
    "h": 303.5
  },
  "luminance": 0.33421
}

Semantic roles & 50–950 ramp

primary
#BB81FE
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB81FE

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

Preview Lab → · Contrast checker → · Palette generator →

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