#BB81FF#BB81FF

#BB81FF is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.4% C 0.184 H 303.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#BB81FF
RGBrgb(187, 129, 255)
HSLhsl(268, 100%, 75%)
HSVhsv(268, 49%, 100%)
CMYKcmyk(26.7%, 49.4%, 0%, 0%)
CIE-LABlab(64.55, 46.46, -54.62)
CIE-LCHlch(64.55, 71.71, 310.39°)
OKLaboklab(71.36% 0.1009 -0.1534)
OKLCHoklch(71.36% 0.184 303.3)
XYZxyz(46.3898, 33.4854, 98.6078)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81FF #C5FF81
analogous
#8186FF #BB81FF #FA81FF
triadic
#BB81FF #FFBB81 #81FFBB
tetradic
#BB81FF #FF8186 #C5FF81 #81FFFA
square
#BB81FF #FF8186 #C5FF81 #81FFFA
split-complementary
#BB81FF #FFFA81 #86FF81
monochromatic
#7907FF #9A44FF #BB81FF #DCBEFF #EEE0FF

Accessibility & contrast

On white

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

On black

7.70
#BB81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81FF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81FF#FFFFFF#000000##000000
##BB81FF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#6A9CFC
Tritanopia (blue-blind)
#AF98B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb81ff;
/* rgb */ color: rgb(187, 129, 255);
/* oklch */ color: oklch(71.4% 0.184 303.3);
Tailwind
colors: {
  custom: {
    50: '#d2a7ff',
    500: '#bb81ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb81ff;
$custom-light: #d2a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81ff",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 267.619,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71363,
    "c": 0.18362,
    "h": 303.3
  },
  "luminance": 0.33485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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