#BB81FC#BB81FC

#BB81FC is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.180 H 304.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#BB81FC
RGBrgb(187, 129, 252)
HSLhsl(268, 95%, 75%)
HSVhsv(268, 49%, 99%)
CMYKcmyk(25.8%, 48.8%, 0%, 1.2%)
CIE-LABlab(64.40, 45.77, -53.22)
CIE-LCHlch(64.40, 70.19, 310.69°)
OKLaboklab(71.2% 0.1006 -0.1493)
OKLCHoklch(71.2% 0.18 304)
XYZxyz(45.9107, 33.2937, 96.0842)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81FC #C2FC81
analogous
#8184FC #BB81FC #F981FC
triadic
#BB81FC #FCBB81 #81FCBB
tetradic
#BB81FC #FC8184 #C2FC81 #81FCF9
square
#BB81FC #FC8184 #C2FC81 #81FCF9
split-complementary
#BB81FC #FCF981 #84FC81
monochromatic
#7A09F9 #9B45FB #BB81FC #DBBDFD #EFE1FE

Accessibility & contrast

On white

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

On black

7.66
#BB81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81FC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81FC#FFFFFF#000000##000000
##BB81FC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb81fc;
/* rgb */ color: rgb(187, 129, 252);
/* oklch */ color: oklch(71.2% 0.180 304.0);
Tailwind
colors: {
  custom: {
    50: '#d2a7fe',
    500: '#bb81fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb81fc;
$custom-light: #d2a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81fc",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 268.293,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71199,
    "c": 0.18006,
    "h": 304
  },
  "luminance": 0.33294
}

Semantic roles & 50–950 ramp

primary
#BB81FC
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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