#BB81F6#BB81F6

#BB81F6 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.9% C 0.173 H 305.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#BB81F6
RGBrgb(187, 129, 246)
HSLhsl(270, 87%, 74%)
HSVhsv(270, 48%, 96%)
CMYKcmyk(24%, 47.6%, 0%, 3.5%)
CIE-LABlab(64.10, 44.39, -50.40)
CIE-LCHlch(64.10, 67.16, 311.37°)
OKLaboklab(70.88% 0.0999 -0.1411)
OKLCHoklch(70.88% 0.173 305.3)
XYZxyz(44.9748, 32.9194, 91.1556)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81F6 #BCF681
analogous
#8181F6 #BB81F6 #F681F6
triadic
#BB81F6 #F6BB81 #81F6BB
tetradic
#BB81F6 #F68181 #BCF681 #81F6F6
square
#BB81F6 #F68181 #BCF681 #81F6F6
split-complementary
#BB81F6 #F6F681 #81F681
monochromatic
#7D11EC #9C48F2 #BB81F6 #DABAFA #F0E2FD

Accessibility & contrast

On white

2.77
#BB81F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#BB81F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81F6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81F6#FFFFFF#000000##000000
##BB81F61.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFA
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#B195B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb81f6;
/* rgb */ color: rgb(187, 129, 246);
/* oklch */ color: oklch(70.9% 0.173 305.3);
Tailwind
colors: {
  custom: {
    50: '#d2a7f9',
    500: '#bb81f6',
    950: '#000000',
  },
}
SCSS
$custom: #bb81f6;
$custom-light: #d2a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81f6",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 269.744,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70875,
    "c": 0.17293,
    "h": 305.3
  },
  "luminance": 0.32919
}

Semantic roles & 50–950 ramp

primary
#BB81F6
secondary
#E6F5D6
accent
#E30274
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB81F6

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

Preview Lab → · Contrast checker → · Palette generator →

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