#BB9AEB#BB9AEB

#BB9AEB is a light, moderate violet. Relative luminance 0.397; OKLCH L 74.6% C 0.119 H 302.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BB9AEB
RGBrgb(187, 154, 235)
HSLhsl(264, 67%, 76%)
HSVhsv(264, 34%, 92%)
CMYKcmyk(20.4%, 34.5%, 0%, 7.8%)
CIE-LABlab(69.24, 28.10, -36.30)
CIE-LCHlch(69.24, 45.90, 307.75°)
OKLaboklab(74.59% 0.0636 -0.1004)
OKLCHoklch(74.59% 0.119 302.3)
XYZxyz(47.0414, 39.6742, 83.7608)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AEB #CAEB9A
analogous
#9AA2EB #BB9AEB #E39AEB
triadic
#BB9AEB #EBBB9A #9AEBBB
tetradic
#BB9AEB #EB9AA2 #CAEB9A #9AEBE3
square
#BB9AEB #EB9AA2 #CAEB9A #9AEBE3
split-complementary
#BB9AEB #EBE39A #A2EB9A
monochromatic
#7634D7 #9967E1 #BB9AEB #DDCDF5 #EEE5FA

Accessibility & contrast

On white

2.35
#BB9AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BB9AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AEB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AEB#FFFFFF#000000##000000
##BB9AEB1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8EE
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#B3A7B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb9aeb;
/* rgb */ color: rgb(187, 154, 235);
/* oklch */ color: oklch(74.6% 0.119 302.3);
Tailwind
colors: {
  custom: {
    50: '#d0b8f1',
    500: '#bb9aeb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9aeb;
$custom-light: #d0b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9aeb",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 235
  },
  "hsl": {
    "h": 264.444,
    "s": 66.942,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7459,
    "c": 0.11886,
    "h": 302.3
  },
  "luminance": 0.39674
}

Semantic roles & 50–950 ramp

primary
#BB9AEB
secondary
#E8F1DA
accent
#CF1784
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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