#BB9AEF#BB9AEF

#BB9AEF is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.8% C 0.124 H 301.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#BB9AEF
RGBrgb(187, 154, 239)
HSLhsl(263, 73%, 77%)
HSVhsv(263, 36%, 94%)
CMYKcmyk(21.8%, 35.6%, 0%, 6.3%)
CIE-LABlab(69.40, 29.01, -38.23)
CIE-LCHlch(69.40, 47.99, 307.20°)
OKLaboklab(74.77% 0.0645 -0.106)
OKLCHoklch(74.77% 0.124 301.3)
XYZxyz(47.6257, 39.9079, 86.8386)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AEF #CEEF9A
analogous
#9AA4EF #BB9AEF #E69AEF
triadic
#BB9AEF #EFBB9A #9AEFBB
tetradic
#BB9AEF #EF9AA4 #CEEF9A #9AEFE6
square
#BB9AEF #EF9AA4 #CEEF9A #9AEFE6
split-complementary
#BB9AEF #EFE69A #A4EF9A
monochromatic
#7430DE #9765E7 #BB9AEF #DFCFF7 #EDE5FB

Accessibility & contrast

On white

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

On black

8.98
#BB9AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AEF
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AEF#FFFFFF#000000##000000
##BB9AEF1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#B2A8B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb9aef;
/* rgb */ color: rgb(187, 154, 239);
/* oklch */ color: oklch(74.8% 0.124 301.3);
Tailwind
colors: {
  custom: {
    50: '#d1b8f4',
    500: '#bb9aef',
    950: '#000000',
  },
}
SCSS
$custom: #bb9aef;
$custom-light: #d1b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9aef",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 239
  },
  "hsl": {
    "h": 263.294,
    "s": 72.65,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74772,
    "c": 0.12405,
    "h": 301.3
  },
  "luminance": 0.39908
}

Semantic roles & 50–950 ramp

primary
#BB9AEF
secondary
#E8F2D9
accent
#D51189
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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