#BB9AF7#BB9AF7

#BB9AF7 is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.1% C 0.134 H 299.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#BB9AF7
RGBrgb(187, 154, 247)
HSLhsl(261, 85%, 79%)
HSVhsv(261, 38%, 97%)
CMYKcmyk(24.3%, 37.7%, 0%, 3.1%)
CIE-LABlab(69.75, 30.86, -42.06)
CIE-LCHlch(69.75, 52.17, 306.27°)
OKLaboklab(75.15% 0.0662 -0.117)
OKLCHoklch(75.15% 0.134 299.5)
XYZxyz(48.8338, 40.3912, 93.2012)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AF7 #D6F79A
analogous
#9AA7F7 #BB9AF7 #E99AF7
triadic
#BB9AF7 #F7BB9A #9AF7BB
tetradic
#BB9AF7 #F79AA7 #D6F79A #9AF7E9
square
#BB9AF7 #F79AA7 #D6F79A #9AF7E9
split-complementary
#BB9AF7 #F7E99A #A7F79A
monochromatic
#6F29EE #9561F3 #BB9AF7 #E1D3FB #ECE3FD

Accessibility & contrast

On white

2.31
#BB9AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#BB9AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AF7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AF7#FFFFFF#000000##000000
##BB9AF71.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFB
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#B0A9BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9af7;
/* rgb */ color: rgb(187, 154, 247);
/* oklch */ color: oklch(75.1% 0.134 299.5);
Tailwind
colors: {
  custom: {
    50: '#d1b8fa',
    500: '#bb9af7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9af7;
$custom-light: #d1b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9af7",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 247
  },
  "hsl": {
    "h": 261.29,
    "s": 85.321,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75146,
    "c": 0.13443,
    "h": 299.5
  },
  "luminance": 0.40391
}

Semantic roles & 50–950 ramp

primary
#BB9AF7
secondary
#EAF5D6
accent
#E20493
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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