#BB8BFE#BB8BFE

#BB8BFE is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.9% C 0.167 H 301.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#BB8BFE
RGBrgb(187, 139, 254)
HSLhsl(265, 98%, 77%)
HSVhsv(265, 45%, 100%)
CMYKcmyk(26.4%, 45.3%, 0%, 0.4%)
CIE-LABlab(66.66, 40.80, -50.73)
CIE-LCHlch(66.66, 65.10, 308.81°)
OKLaboklab(72.92% 0.0877 -0.1421)
OKLCHoklch(72.92% 0.167 301.7)
XYZxyz(47.6115, 36.1857, 98.2229)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BFE #CEFE8B
analogous
#8B95FE #BB8BFE #F48BFE
triadic
#BB8BFE #FEBB8B #8BFEBB
tetradic
#BB8BFE #FE8B95 #CEFE8B #8BFEF4
square
#BB8BFE #FE8B95 #CEFE8B #8BFEF4
split-complementary
#BB8BFE #FEF48B #95FE8B
monochromatic
#7412FD #974EFD #BB8BFE #DFC8FF #EDE1FF

Accessibility & contrast

On white

2.55
#BB8BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#BB8BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BFE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BFE#FFFFFF#000000##000000
##BB8BFE1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#AF9FB8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8bfe;
/* rgb */ color: rgb(187, 139, 254);
/* oklch */ color: oklch(72.9% 0.167 301.7);
Tailwind
colors: {
  custom: {
    50: '#d2aeff',
    500: '#bb8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bfe;
$custom-light: #d2aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bfe",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 265.043,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72922,
    "c": 0.16697,
    "h": 301.7
  },
  "luminance": 0.36186
}

Semantic roles & 50–950 ramp

primary
#BB8BFE
secondary
#E8F7D4
accent
#E60086
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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