#BB81FD#BB81FD

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

Color values

HEX#BB81FD
RGBrgb(187, 129, 253)
HSLhsl(268, 97%, 75%)
HSVhsv(268, 49%, 99%)
CMYKcmyk(26.1%, 49%, 0%, 0.8%)
CIE-LABlab(64.45, 46.00, -53.68)
CIE-LCHlch(64.45, 70.69, 310.59°)
OKLaboklab(71.25% 0.1007 -0.1507)
OKLCHoklch(71.25% 0.181 303.7)
XYZxyz(46.0695, 33.3573, 96.9210)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81FD #C3FD81
analogous
#8185FD #BB81FD #F981FD
triadic
#BB81FD #FDBB81 #81FDBB
tetradic
#BB81FD #FD8185 #C3FD81 #81FDF9
square
#BB81FD #FD8185 #C3FD81 #81FDF9
split-complementary
#BB81FD #FDF981 #85FD81
monochromatic
#7A09FB #9A45FC #BB81FD #DCBDFE #EFE1FF

Accessibility & contrast

On white

2.74
#BB81FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#BB81FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81FD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81FD#FFFFFF#000000##000000
##BB81FD1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb81fd;
/* rgb */ color: rgb(187, 129, 253);
/* oklch */ color: oklch(71.3% 0.181 303.7);
Tailwind
colors: {
  custom: {
    50: '#d2a7fe',
    500: '#bb81fd',
    950: '#000000',
  },
}
SCSS
$custom: #bb81fd;
$custom-light: #d2a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81fd",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 268.065,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71253,
    "c": 0.18124,
    "h": 303.7
  },
  "luminance": 0.33357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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