#BB9AFF#BB9AFF

#BB9AFF is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.5% C 0.145 H 297.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#BB9AFF
RGBrgb(187, 154, 255)
HSLhsl(260, 100%, 80%)
HSVhsv(260, 40%, 100%)
CMYKcmyk(26.7%, 39.6%, 0%, 0%)
CIE-LABlab(70.10, 32.75, -45.85)
CIE-LCHlch(70.10, 56.35, 305.54°)
OKLaboklab(75.53% 0.0678 -0.128)
OKLCHoklch(75.53% 0.145 297.9)
XYZxyz(50.0949, 40.8956, 99.8428)
Luminance0.4090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AFF #DEFF9A
analogous
#9AABFF #BB9AFF #ED9AFF
triadic
#BB9AFF #FFBB9A #9AFFBB
tetradic
#BB9AFF #FF9AAB #DEFF9A #9AFFED
square
#BB9AFF #FF9AAB #DEFF9A #9AFFED
split-complementary
#BB9AFF #FFED9A #ABFF9A
monochromatic
#6920FF #925DFF #BB9AFF #E4D7FF #EAE0FF

Accessibility & contrast

On white

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

On black

9.18
#BB9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AFF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AFF#FFFFFF#000000##000000
##BB9AFF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#85AAFC
Tritanopia (blue-blind)
#ADABC0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9aff;
/* rgb */ color: rgb(187, 154, 255);
/* oklch */ color: oklch(75.5% 0.145 297.9);
Tailwind
colors: {
  custom: {
    50: '#d1b8ff',
    500: '#bb9aff',
    950: '#000000',
  },
}
SCSS
$custom: #bb9aff;
$custom-light: #d1b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9aff",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 259.604,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75532,
    "c": 0.14481,
    "h": 297.9
  },
  "luminance": 0.40896
}

Semantic roles & 50–950 ramp

primary
#BB9AFF
secondary
#ECF7D4
accent
#E6009B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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