#BB9EE8#BB9EE8

#BB9EE8 is a light, moderate violet. Relative luminance 0.408; OKLCH L 75.2% C 0.108 H 301.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#BB9EE8
RGBrgb(187, 158, 232)
HSLhsl(264, 62%, 76%)
HSVhsv(264, 32%, 91%)
CMYKcmyk(19.4%, 31.9%, 0%, 9%)
CIE-LABlab(70.07, 25.20, -33.36)
CIE-LCHlch(70.07, 41.81, 307.06°)
OKLaboklab(75.18% 0.0572 -0.0921)
OKLCHoklch(75.18% 0.108 301.9)
XYZxyz(47.2828, 40.8447, 81.7211)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EE8 #CBE89E
analogous
#9EA6E8 #BB9EE8 #E09EE8
triadic
#BB9EE8 #E8BB9E #9EE8BB
tetradic
#BB9EE8 #E89EA6 #CBE89E #9EE8E0
square
#BB9EE8 #E89EA6 #CBE89E #9EE8E0
split-complementary
#BB9EE8 #E8E09E #A6E89E
monochromatic
#763BD1 #986DDC #BB9EE8 #DECFF4 #EEE6F9

Accessibility & contrast

On white

2.29
#BB9EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#BB9EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EE8
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EE8#FFFFFF#000000##000000
##BB9EE81.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABEB
Deuteranopia (green-blind)
#93ABE6
Tritanopia (blue-blind)
#B3A9B9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9ee8;
/* rgb */ color: rgb(187, 158, 232);
/* oklch */ color: oklch(75.2% 0.108 301.9);
Tailwind
colors: {
  custom: {
    50: '#d0bbef',
    500: '#bb9ee8',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ee8;
$custom-light: #d0bbef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ee8",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 232
  },
  "hsl": {
    "h": 263.514,
    "s": 61.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.10837,
    "h": 301.9
  },
  "luminance": 0.40845
}

Semantic roles & 50–950 ramp

primary
#BB9EE8
secondary
#E8F1DA
accent
#C91C85
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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