#BB8BEE#BB8BEE

#BB8BEE is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.1% C 0.147 H 305.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#BB8BEE
RGBrgb(187, 139, 238)
HSLhsl(269, 74%, 74%)
HSVhsv(269, 42%, 93%)
CMYKcmyk(21.4%, 41.6%, 0%, 6.7%)
CIE-LABlab(65.91, 37.10, -43.14)
CIE-LCHlch(65.91, 56.90, 310.69°)
OKLaboklab(72.11% 0.0852 -0.1201)
OKLCHoklch(72.11% 0.147 305.3)
XYZxyz(45.1556, 35.2033, 85.2884)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BEE #BEEE8B
analogous
#8B8DEE #BB8BEE #ED8BEE
triadic
#BB8BEE #EEBB8B #8BEEBB
tetradic
#BB8BEE #EE8B8D #BEEE8B #8BEEED
square
#BB8BEE #EE8B8D #BEEE8B #8BEEED
split-complementary
#BB8BEE #EEED8B #8DEE8B
monochromatic
#7C21DE #9C56E6 #BB8BEE #DAC0F6 #EFE4FB

Accessibility & contrast

On white

2.61
#BB8BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#BB8BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BEE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BEE#FFFFFF#000000##000000
##BB8BEE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#B39BB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8bee;
/* rgb */ color: rgb(187, 139, 238);
/* oklch */ color: oklch(72.1% 0.147 305.3);
Tailwind
colors: {
  custom: {
    50: '#d1adf4',
    500: '#bb8bee',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bee;
$custom-light: #d1adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bee",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 269.091,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72108,
    "c": 0.14725,
    "h": 305.3
  },
  "luminance": 0.35203
}

Semantic roles & 50–950 ramp

primary
#BB8BEE
secondary
#E6F3D8
accent
#D70F76
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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