#BB81FA#BB81FA

#BB81FA is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.1% C 0.178 H 304.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#BB81FA
RGBrgb(187, 129, 250)
HSLhsl(269, 92%, 74%)
HSVhsv(269, 48%, 98%)
CMYKcmyk(25.2%, 48.4%, 0%, 2%)
CIE-LABlab(64.30, 45.30, -52.28)
CIE-LCHlch(64.30, 69.18, 310.91°)
OKLaboklab(71.09% 0.1004 -0.1466)
OKLCHoklch(71.09% 0.178 304.4)
XYZxyz(45.5954, 33.1676, 94.4239)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81FA #C0FA81
analogous
#8184FA #BB81FA #F781FA
triadic
#BB81FA #FABB81 #81FABB
tetradic
#BB81FA #FA8184 #C0FA81 #81FAF7
square
#BB81FA #FA8184 #C0FA81 #81FAF7
split-complementary
#BB81FA #FAF781 #84FA81
monochromatic
#7B0BF5 #9B46F8 #BB81FA #DBBCFC #EFE2FE

Accessibility & contrast

On white

2.75
#BB81FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#BB81FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81FA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81FA#FFFFFF#000000##000000
##BB81FA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#6D9CF7
Tritanopia (blue-blind)
#B096B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb81fa;
/* rgb */ color: rgb(187, 129, 250);
/* oklch */ color: oklch(71.1% 0.178 304.4);
Tailwind
colors: {
  custom: {
    50: '#d2a7fc',
    500: '#bb81fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb81fa;
$custom-light: #d2a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81fa",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 268.76,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7109,
    "c": 0.17769,
    "h": 304.4
  },
  "luminance": 0.33167
}

Semantic roles & 50–950 ramp

primary
#BB81FA
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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