#BB9BEB#BB9BEB

#BB9BEB is a light, moderate violet. Relative luminance 0.400; OKLCH L 74.8% C 0.117 H 302.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#BB9BEB
RGBrgb(187, 155, 235)
HSLhsl(264, 67%, 76%)
HSVhsv(264, 34%, 92%)
CMYKcmyk(20.4%, 34%, 0%, 7.8%)
CIE-LABlab(69.47, 27.55, -35.93)
CIE-LCHlch(69.47, 45.27, 307.48°)
OKLaboklab(74.77% 0.0622 -0.0994)
OKLCHoklch(74.77% 0.117 302)
XYZxyz(47.2071, 40.0056, 83.8160)
Luminance0.4001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9BEB #CBEB9B
analogous
#9BA3EB #BB9BEB #E39BEB
triadic
#BB9BEB #EBBB9B #9BEBBB
tetradic
#BB9BEB #EB9BA3 #CBEB9B #9BEBE3
square
#BB9BEB #EB9BA3 #CBEB9B #9BEBE3
split-complementary
#BB9BEB #EBE39B #A3EB9B
monochromatic
#7635D7 #9868E1 #BB9BEB #DECEF5 #EEE5FA

Accessibility & contrast

On white

2.33
#BB9BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#BB9BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9BEB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9BEB#FFFFFF#000000##000000
##BB9BEB1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#B3A7B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9beb;
/* rgb */ color: rgb(187, 155, 235);
/* oklch */ color: oklch(74.8% 0.117 302.0);
Tailwind
colors: {
  custom: {
    50: '#d0b8f1',
    500: '#bb9beb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9beb;
$custom-light: #d0b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9beb",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 264,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7477,
    "c": 0.11722,
    "h": 302
  },
  "luminance": 0.40006
}

Semantic roles & 50–950 ramp

primary
#BB9BEB
secondary
#E8F1DA
accent
#CF1785
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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