#BB8BFB#BB8BFB

#BB8BFB is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.8% C 0.163 H 302.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#BB8BFB
RGBrgb(187, 139, 251)
HSLhsl(266, 93%, 76%)
HSVhsv(266, 45%, 98%)
CMYKcmyk(25.5%, 44.6%, 0%, 1.6%)
CIE-LABlab(66.52, 40.09, -49.32)
CIE-LCHlch(66.52, 63.56, 309.11°)
OKLaboklab(72.77% 0.0872 -0.138)
OKLCHoklch(72.77% 0.163 302.3)
XYZxyz(47.1349, 35.9950, 95.7126)
Luminance0.3599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BFB #CBFB8B
analogous
#8B93FB #BB8BFB #F38BFB
triadic
#BB8BFB #FBBB8B #8BFBBB
tetradic
#BB8BFB #FB8B93 #CBFB8B #8BFBF3
square
#BB8BFB #FB8B93 #CBFB8B #8BFBF3
split-complementary
#BB8BFB #FBF38B #93FB8B
monochromatic
#7615F7 #9850F9 #BB8BFB #DEC6FD #EEE1FE

Accessibility & contrast

On white

2.56
#BB8BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#BB8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BFB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BFB#FFFFFF#000000##000000
##BB8BFB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#B09EB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8bfb;
/* rgb */ color: rgb(187, 139, 251);
/* oklch */ color: oklch(72.8% 0.163 302.3);
Tailwind
colors: {
  custom: {
    50: '#d2adfd',
    500: '#bb8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bfb;
$custom-light: #d2adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bfb",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 265.714,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72766,
    "c": 0.16327,
    "h": 302.3
  },
  "luminance": 0.35995
}

Semantic roles & 50–950 ramp

primary
#BB8BFB
secondary
#E8F6D5
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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