#BB81F8#BB81F8

#BB81F8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.0% C 0.175 H 304.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BB81F8
RGBrgb(187, 129, 248)
HSLhsl(269, 89%, 74%)
HSVhsv(269, 48%, 97%)
CMYKcmyk(24.6%, 48%, 0%, 2.7%)
CIE-LABlab(64.20, 44.84, -51.34)
CIE-LCHlch(64.20, 68.17, 311.13°)
OKLaboklab(70.98% 0.1002 -0.1439)
OKLCHoklch(70.98% 0.175 304.8)
XYZxyz(45.2835, 33.0428, 92.7810)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81F8 #BEF881
analogous
#8183F8 #BB81F8 #F781F8
triadic
#BB81F8 #F8BB81 #81F8BB
tetradic
#BB81F8 #F88183 #BEF881 #81F8F7
square
#BB81F8 #F88183 #BEF881 #81F8F7
split-complementary
#BB81F8 #F8F781 #83F881
monochromatic
#7C0DF1 #9C47F5 #BB81F8 #DABBFB #EFE2FD

Accessibility & contrast

On white

2.76
#BB81F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BB81F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81F8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81F8#FFFFFF#000000##000000
##BB81F81.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#B196B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb81f8;
/* rgb */ color: rgb(187, 129, 248);
/* oklch */ color: oklch(71.0% 0.175 304.8);
Tailwind
colors: {
  custom: {
    50: '#d2a7fb',
    500: '#bb81f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb81f8;
$custom-light: #d2a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81f8",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 269.244,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70982,
    "c": 0.17531,
    "h": 304.8
  },
  "luminance": 0.33043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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