#BB9EE9#BB9EE9

#BB9EE9 is a light, moderate violet. Relative luminance 0.409; OKLCH L 75.2% C 0.110 H 301.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#BB9EE9
RGBrgb(187, 158, 233)
HSLhsl(263, 63%, 77%)
HSVhsv(263, 32%, 91%)
CMYKcmyk(19.7%, 32.2%, 0%, 8.6%)
CIE-LABlab(70.11, 25.43, -33.85)
CIE-LCHlch(70.11, 42.34, 306.91°)
OKLaboklab(75.23% 0.0574 -0.0934)
OKLCHoklch(75.23% 0.11 301.6)
XYZxyz(47.4252, 40.9017, 82.4713)
Luminance0.4090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EE9 #CCE99E
analogous
#9EA7E9 #BB9EE9 #E19EE9
triadic
#BB9EE9 #E9BB9E #9EE9BB
tetradic
#BB9EE9 #E99EA7 #CCE99E #9EE9E1
square
#BB9EE9 #E99EA7 #CCE99E #9EE9E1
split-complementary
#BB9EE9 #E9E19E #A7E99E
monochromatic
#753AD2 #986CDE #BB9EE9 #DED0F4 #EEE6F9

Accessibility & contrast

On white

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

On black

9.18
#BB9EE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EE9
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EE9#FFFFFF#000000##000000
##BB9EE91.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABEC
Deuteranopia (green-blind)
#93ABE7
Tritanopia (blue-blind)
#B3AAB9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9ee9;
/* rgb */ color: rgb(187, 158, 233);
/* oklch */ color: oklch(75.2% 0.110 301.6);
Tailwind
colors: {
  custom: {
    50: '#d0bbf0',
    500: '#bb9ee9',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ee9;
$custom-light: #d0bbf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ee9",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 233
  },
  "hsl": {
    "h": 263.2,
    "s": 63.025,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75227,
    "c": 0.10968,
    "h": 301.6
  },
  "luminance": 0.40902
}

Semantic roles & 50–950 ramp

primary
#BB9EE9
secondary
#E8F1DA
accent
#CB1B87
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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