#BB8BF9#BB8BF9

#BB8BF9 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.7% C 0.161 H 302.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#BB8BF9
RGBrgb(187, 139, 249)
HSLhsl(266, 90%, 76%)
HSVhsv(266, 44%, 98%)
CMYKcmyk(24.9%, 44.2%, 0%, 2.4%)
CIE-LABlab(66.42, 39.63, -48.38)
CIE-LCHlch(66.42, 62.53, 309.32°)
OKLaboklab(72.66% 0.087 -0.1353)
OKLCHoklch(72.66% 0.161 302.7)
XYZxyz(46.8213, 35.8696, 94.0610)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BF9 #C9F98B
analogous
#8B92F9 #BB8BF9 #F28BF9
triadic
#BB8BF9 #F9BB8B #8BF9BB
tetradic
#BB8BF9 #F98B92 #C9F98B #8BF9F2
square
#BB8BF9 #F98B92 #C9F98B #8BF9F2
split-complementary
#BB8BF9 #F9F28B #92F98B
monochromatic
#7717F3 #9951F6 #BB8BF9 #DDC5FC #EEE2FD

Accessibility & contrast

On white

2.57
#BB8BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#BB8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BF9
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BF9#FFFFFF#000000##000000
##BB8BF91.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FD
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#B09EB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8bf9;
/* rgb */ color: rgb(187, 139, 249);
/* oklch */ color: oklch(72.7% 0.161 302.7);
Tailwind
colors: {
  custom: {
    50: '#d1adfc',
    500: '#bb8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bf9;
$custom-light: #d1adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bf9",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 266.182,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72662,
    "c": 0.1608,
    "h": 302.7
  },
  "luminance": 0.3587
}

Semantic roles & 50–950 ramp

primary
#BB8BF9
secondary
#E8F6D5
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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