#BB9AFA#BB9AFA

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

Color values

HEX#BB9AFA
RGBrgb(187, 154, 250)
HSLhsl(261, 91%, 79%)
HSVhsv(261, 38%, 98%)
CMYKcmyk(25.2%, 38.4%, 0%, 2%)
CIE-LABlab(69.88, 31.57, -43.48)
CIE-LCHlch(69.88, 53.73, 305.98°)
OKLaboklab(75.29% 0.0668 -0.1211)
OKLCHoklch(75.29% 0.138 298.9)
XYZxyz(49.3005, 40.5778, 95.6589)
Luminance0.4058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AFA #D9FA9A
analogous
#9AA9FA #BB9AFA #EB9AFA
triadic
#BB9AFA #FABB9A #9AFABB
tetradic
#BB9AFA #FA9AA9 #D9FA9A #9AFAEB
square
#BB9AFA #FA9AA9 #D9FA9A #9AFAEB
split-complementary
#BB9AFA #FAEB9A #A9FA9A
monochromatic
#6C25F4 #9460F7 #BB9AFA #E2D4FD #EBE2FE

Accessibility & contrast

On white

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

On black

9.12
#BB9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AFA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AFA#FFFFFF#000000##000000
##BB9AFA1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#AFAABE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9afa;
/* rgb */ color: rgb(187, 154, 250);
/* oklch */ color: oklch(75.3% 0.138 298.9);
Tailwind
colors: {
  custom: {
    50: '#d1b8fc',
    500: '#bb9afa',
    950: '#000000',
  },
}
SCSS
$custom: #bb9afa;
$custom-light: #d1b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9afa",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 260.625,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75289,
    "c": 0.13833,
    "h": 298.9
  },
  "luminance": 0.40578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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