#BB9EEE#BB9EEE

#BB9EEE is a light, moderate violet. Relative luminance 0.412; OKLCH L 75.4% C 0.116 H 300.3°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#BB9EEE
RGBrgb(187, 158, 238)
HSLhsl(262, 70%, 78%)
HSVhsv(262, 34%, 93%)
CMYKcmyk(21.4%, 33.6%, 0%, 6.7%)
CIE-LABlab(70.31, 26.56, -36.27)
CIE-LCHlch(70.31, 44.95, 306.22°)
OKLaboklab(75.45% 0.0587 -0.1004)
OKLCHoklch(75.45% 0.116 300.3)
XYZxyz(48.1496, 41.1914, 86.2864)
Luminance0.4119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EEE #D1EE9E
analogous
#9EA9EE #BB9EEE #E39EEE
triadic
#BB9EEE #EEBB9E #9EEEBB
tetradic
#BB9EEE #EE9EA9 #D1EE9E #9EEEE3
square
#BB9EEE #EE9EA9 #D1EE9E #9EEEE3
split-complementary
#BB9EEE #EEE39E #A9EE9E
monochromatic
#7236DC #966AE5 #BB9EEE #E0D2F7 #EDE5FA

Accessibility & contrast

On white

2.27
#BB9EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#BB9EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EEE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EEE#FFFFFF#000000##000000
##BB9EEE1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF1
Deuteranopia (green-blind)
#91ABEC
Tritanopia (blue-blind)
#B2ABBB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9eee;
/* rgb */ color: rgb(187, 158, 238);
/* oklch */ color: oklch(75.4% 0.116 300.3);
Tailwind
colors: {
  custom: {
    50: '#d0bbf4',
    500: '#bb9eee',
    950: '#000000',
  },
}
SCSS
$custom: #bb9eee;
$custom-light: #d0bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9eee",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 238
  },
  "hsl": {
    "h": 261.75,
    "s": 70.175,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75449,
    "c": 0.11625,
    "h": 300.3
  },
  "luminance": 0.41192
}

Semantic roles & 50–950 ramp

primary
#BB9EEE
secondary
#E9F2D9
accent
#D2138D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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