#BB9BF7#BB9BF7

#BB9BF7 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.3% C 0.133 H 299.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#BB9BF7
RGBrgb(187, 155, 247)
HSLhsl(261, 85%, 79%)
HSVhsv(261, 37%, 97%)
CMYKcmyk(24.3%, 37.2%, 0%, 3.1%)
CIE-LABlab(69.98, 30.31, -41.69)
CIE-LCHlch(69.98, 51.54, 306.02°)
OKLaboklab(75.32% 0.0648 -0.1159)
OKLCHoklch(75.32% 0.133 299.2)
XYZxyz(48.9996, 40.7226, 93.2564)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9BF7 #D7F79B
analogous
#9BA9F7 #BB9BF7 #E99BF7
triadic
#BB9BF7 #F7BB9B #9BF7BB
tetradic
#BB9BF7 #F79BA9 #D7F79B #9BF7E9
square
#BB9BF7 #F79BA9 #D7F79B #9BF7E9
split-complementary
#BB9BF7 #F7E99B #A9F79B
monochromatic
#6E2AEE #9462F2 #BB9BF7 #E2D4FC #ECE3FD

Accessibility & contrast

On white

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

On black

9.14
#BB9BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9BF7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9BF7#FFFFFF#000000##000000
##BB9BF71.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFB
Deuteranopia (green-blind)
#8AAAF5
Tritanopia (blue-blind)
#B0AABD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9bf7;
/* rgb */ color: rgb(187, 155, 247);
/* oklch */ color: oklch(75.3% 0.133 299.2);
Tailwind
colors: {
  custom: {
    50: '#d1b8fa',
    500: '#bb9bf7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9bf7;
$custom-light: #d1b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9bf7",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 260.87,
    "s": 85.185,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75323,
    "c": 0.13284,
    "h": 299.2
  },
  "luminance": 0.40723
}

Semantic roles & 50–950 ramp

primary
#BB9BF7
secondary
#EAF5D6
accent
#E20495
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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