#BB8AFB#BB8AFB

#BB8AFB is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.6% C 0.165 H 302.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#BB8AFB
RGBrgb(187, 138, 251)
HSLhsl(266, 93%, 76%)
HSVhsv(266, 45%, 98%)
CMYKcmyk(25.5%, 45%, 0%, 1.6%)
CIE-LABlab(66.30, 40.64, -49.67)
CIE-LCHlch(66.30, 64.18, 309.29°)
OKLaboklab(72.6% 0.0886 -0.139)
OKLCHoklch(72.6% 0.165 302.5)
XYZxyz(46.9907, 35.7068, 95.6646)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AFB #CAFB8A
analogous
#8A92FB #BB8AFB #F48AFB
triadic
#BB8AFB #FBBB8A #8AFBBB
tetradic
#BB8AFB #FB8A92 #CAFB8A #8AFBF4
square
#BB8AFB #FB8A92 #CAFB8A #8AFBF4
split-complementary
#BB8AFB #FBF48A #92FB8A
monochromatic
#7614F7 #994FF9 #BB8AFB #DDC5FD #EEE1FE

Accessibility & contrast

On white

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

On black

8.14
#BB8AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AFB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AFB#FFFFFF#000000##000000
##BB8AFB1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#B09EB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8afb;
/* rgb */ color: rgb(187, 138, 251);
/* oklch */ color: oklch(72.6% 0.165 302.5);
Tailwind
colors: {
  custom: {
    50: '#d2adfd',
    500: '#bb8afb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8afb;
$custom-light: #d2adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8afb",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 266.018,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.726,
    "c": 0.16484,
    "h": 302.5
  },
  "luminance": 0.35707
}

Semantic roles & 50–950 ramp

primary
#BB8AFB
secondary
#E8F6D5
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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