#BB9AFB#BB9AFB

#BB9AFB is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.3% C 0.140 H 298.7°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#BB9AFB
RGBrgb(187, 154, 251)
HSLhsl(260, 92%, 79%)
HSVhsv(260, 39%, 98%)
CMYKcmyk(25.5%, 38.6%, 0%, 1.6%)
CIE-LABlab(69.92, 31.80, -43.96)
CIE-LCHlch(69.92, 54.26, 305.88°)
OKLaboklab(75.34% 0.067 -0.1225)
OKLCHoklch(75.34% 0.14 298.7)
XYZxyz(49.4577, 40.6407, 96.4869)
Luminance0.4064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AFB #DAFB9A
analogous
#9AAAFB #BB9AFB #EB9AFB
triadic
#BB9AFB #FBBB9A #9AFBBB
tetradic
#BB9AFB #FB9AAA #DAFB9A #9AFBEB
square
#BB9AFB #FB9AAA #DAFB9A #9AFBEB
split-complementary
#BB9AFB #FBEB9A #AAFB9A
monochromatic
#6C24F6 #935FF9 #BB9AFB #E3D5FD #EBE2FE

Accessibility & contrast

On white

2.30
#BB9AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#BB9AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AFB
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AFB#FFFFFF#000000##000000
##BB9AFB1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#AFAABF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9afb;
/* rgb */ color: rgb(187, 154, 251);
/* oklch */ color: oklch(75.3% 0.140 298.7);
Tailwind
colors: {
  custom: {
    50: '#d1b8fd',
    500: '#bb9afb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9afb;
$custom-light: #d1b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9afb",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 251
  },
  "hsl": {
    "h": 260.412,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75337,
    "c": 0.13962,
    "h": 298.7
  },
  "luminance": 0.40641
}

Semantic roles & 50–950 ramp

primary
#BB9AFB
secondary
#EBF6D5
accent
#E60097
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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