#BB9BEF#BB9BEF

#BB9BEF is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.0% C 0.122 H 301.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BB9BEF
RGBrgb(187, 155, 239)
HSLhsl(263, 72%, 77%)
HSVhsv(263, 35%, 94%)
CMYKcmyk(21.8%, 35.1%, 0%, 6.3%)
CIE-LABlab(69.64, 28.46, -37.86)
CIE-LCHlch(69.64, 47.36, 306.93°)
OKLaboklab(74.95% 0.0631 -0.1049)
OKLCHoklch(74.95% 0.122 301)
XYZxyz(47.7915, 40.2394, 86.8938)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9BEF #CFEF9B
analogous
#9BA5EF #BB9BEF #E59BEF
triadic
#BB9BEF #EFBB9B #9BEFBB
tetradic
#BB9BEF #EF9BA5 #CFEF9B #9BEFE5
square
#BB9BEF #EF9BA5 #CFEF9B #9BEFE5
split-complementary
#BB9BEF #EFE59B #A5EF9B
monochromatic
#7331DE #9766E7 #BB9BEF #DFD0F7 #EDE5FB

Accessibility & contrast

On white

2.32
#BB9BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BB9BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9BEF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9BEF#FFFFFF#000000##000000
##BB9BEF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF2
Deuteranopia (green-blind)
#8DAAED
Tritanopia (blue-blind)
#B2A8BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9bef;
/* rgb */ color: rgb(187, 155, 239);
/* oklch */ color: oklch(75.0% 0.122 301.0);
Tailwind
colors: {
  custom: {
    50: '#d0b8f4',
    500: '#bb9bef',
    950: '#000000',
  },
}
SCSS
$custom: #bb9bef;
$custom-light: #d0b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9bef",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 239
  },
  "hsl": {
    "h": 262.857,
    "s": 72.414,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74951,
    "c": 0.12242,
    "h": 301
  },
  "luminance": 0.40239
}

Semantic roles & 50–950 ramp

primary
#BB9BEF
secondary
#E9F2D9
accent
#D4118A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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