#BB9AEE#BB9AEE

#BB9AEE is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.7% C 0.123 H 301.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#BB9AEE
RGBrgb(187, 154, 238)
HSLhsl(264, 71%, 77%)
HSVhsv(264, 35%, 93%)
CMYKcmyk(21.4%, 35.3%, 0%, 6.7%)
CIE-LABlab(69.36, 28.79, -37.74)
CIE-LCHlch(69.36, 47.47, 307.33°)
OKLaboklab(74.73% 0.0643 -0.1046)
OKLCHoklch(74.73% 0.123 301.6)
XYZxyz(47.4784, 39.8490, 86.0627)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AEE #CDEE9A
analogous
#9AA3EE #BB9AEE #E59AEE
triadic
#BB9AEE #EEBB9A #9AEEBB
tetradic
#BB9AEE #EE9AA3 #CDEE9A #9AEEE5
square
#BB9AEE #EE9AA3 #CDEE9A #9AEEE5
split-complementary
#BB9AEE #EEE59A #A3EE9A
monochromatic
#7431DC #9866E5 #BB9AEE #DECEF7 #EDE5FB

Accessibility & contrast

On white

2.34
#BB9AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#BB9AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AEE
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AEE#FFFFFF#000000##000000
##BB9AEE1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F1
Deuteranopia (green-blind)
#8DA9EC
Tritanopia (blue-blind)
#B2A7B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb9aee;
/* rgb */ color: rgb(187, 154, 238);
/* oklch */ color: oklch(74.7% 0.123 301.6);
Tailwind
colors: {
  custom: {
    50: '#d0b8f4',
    500: '#bb9aee',
    950: '#000000',
  },
}
SCSS
$custom: #bb9aee;
$custom-light: #d0b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9aee",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 238
  },
  "hsl": {
    "h": 263.571,
    "s": 71.186,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74726,
    "c": 0.12274,
    "h": 301.6
  },
  "luminance": 0.39849
}

Semantic roles & 50–950 ramp

primary
#BB9AEE
secondary
#E8F2D9
accent
#D31287
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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