#BB81F7#BB81F7

#BB81F7 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.9% C 0.174 H 305.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#BB81F7
RGBrgb(187, 129, 247)
HSLhsl(269, 88%, 74%)
HSVhsv(269, 48%, 97%)
CMYKcmyk(24.3%, 47.8%, 0%, 3.1%)
CIE-LABlab(64.15, 44.61, -50.87)
CIE-LCHlch(64.15, 67.66, 311.25°)
OKLaboklab(70.93% 0.1001 -0.1425)
OKLCHoklch(70.93% 0.174 305.1)
XYZxyz(45.1287, 32.9810, 91.9662)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81F7 #BDF781
analogous
#8182F7 #BB81F7 #F681F7
triadic
#BB81F7 #F7BB81 #81F7BB
tetradic
#BB81F7 #F78182 #BDF781 #81F7F6
square
#BB81F7 #F78182 #BDF781 #81F7F6
split-complementary
#BB81F7 #F7F681 #82F781
monochromatic
#7D0FEE #9C47F3 #BB81F7 #DABBFB #EFE2FD

Accessibility & contrast

On white

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

On black

7.60
#BB81F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81F7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81F7#FFFFFF#000000##000000
##BB81F71.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#B195B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb81f7;
/* rgb */ color: rgb(187, 129, 247);
/* oklch */ color: oklch(70.9% 0.174 305.1);
Tailwind
colors: {
  custom: {
    50: '#d2a7fa',
    500: '#bb81f7',
    950: '#000000',
  },
}
SCSS
$custom: #bb81f7;
$custom-light: #d2a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81f7",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 269.492,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70928,
    "c": 0.17412,
    "h": 305.1
  },
  "luminance": 0.32981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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