#BB9AFE#BB9AFE

#BB9AFE is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.144 H 298.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#BB9AFE
RGBrgb(187, 154, 254)
HSLhsl(260, 98%, 80%)
HSVhsv(260, 39%, 100%)
CMYKcmyk(26.4%, 39.4%, 0%, 0.4%)
CIE-LABlab(70.06, 32.51, -45.38)
CIE-LCHlch(70.06, 55.82, 305.62°)
OKLaboklab(75.48% 0.0676 -0.1266)
OKLCHoklch(75.48% 0.144 298.1)
XYZxyz(49.9343, 40.8314, 98.9972)
Luminance0.4083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AFE #DDFE9A
analogous
#9AABFE #BB9AFE #ED9AFE
triadic
#BB9AFE #FEBB9A #9AFEBB
tetradic
#BB9AFE #FE9AAB #DDFE9A #9AFEED
square
#BB9AFE #FE9AAB #DDFE9A #9AFEED
split-complementary
#BB9AFE #FEED9A #ABFE9A
monochromatic
#6921FD #925DFD #BB9AFE #E4D7FF #EBE1FF

Accessibility & contrast

On white

2.29
#BB9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#BB9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AFE
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AFE#FFFFFF#000000##000000
##BB9AFE1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#AEABC0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9afe;
/* rgb */ color: rgb(187, 154, 254);
/* oklch */ color: oklch(75.5% 0.144 298.1);
Tailwind
colors: {
  custom: {
    50: '#d1b8ff',
    500: '#bb9afe',
    950: '#000000',
  },
}
SCSS
$custom: #bb9afe;
$custom-light: #d1b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9afe",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 259.8,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.75483,
    "c": 0.14351,
    "h": 298.1
  },
  "luminance": 0.40832
}

Semantic roles & 50–950 ramp

primary
#BB9AFE
secondary
#EBF7D4
accent
#E6009A
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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