#BB8AFA#BB8AFA

#BB8AFA is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.5% C 0.164 H 302.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#BB8AFA
RGBrgb(187, 138, 250)
HSLhsl(266, 92%, 76%)
HSVhsv(266, 45%, 98%)
CMYKcmyk(25.2%, 44.8%, 0%, 2%)
CIE-LABlab(66.25, 40.41, -49.20)
CIE-LCHlch(66.25, 63.66, 309.40°)
OKLaboklab(72.55% 0.0884 -0.1376)
OKLCHoklch(72.55% 0.164 302.7)
XYZxyz(46.8335, 35.6439, 94.8366)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AFA #C9FA8A
analogous
#8A91FA #BB8AFA #F38AFA
triadic
#BB8AFA #FABB8A #8AFABB
tetradic
#BB8AFA #FA8A91 #C9FA8A #8AFAF3
square
#BB8AFA #FA8A91 #C9FA8A #8AFAF3
split-complementary
#BB8AFA #FAF38A #91FA8A
monochromatic
#7715F5 #994FF7 #BB8AFA #DDC5FD #EEE2FE

Accessibility & contrast

On white

2.58
#BB8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#BB8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AFA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AFA#FFFFFF#000000##000000
##BB8AFA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#B09DB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8afa;
/* rgb */ color: rgb(187, 138, 250);
/* oklch */ color: oklch(72.5% 0.164 302.7);
Tailwind
colors: {
  custom: {
    50: '#d2adfc',
    500: '#bb8afa',
    950: '#000000',
  },
}
SCSS
$custom: #bb8afa;
$custom-light: #d2adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8afa",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 266.25,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72548,
    "c": 0.16361,
    "h": 302.7
  },
  "luminance": 0.35644
}

Semantic roles & 50–950 ramp

primary
#BB8AFA
secondary
#E8F6D5
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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