#BB8BF5#BB8BF5

#BB8BF5 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.5% C 0.156 H 303.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#BB8BF5
RGBrgb(187, 139, 245)
HSLhsl(267, 84%, 75%)
HSVhsv(267, 43%, 96%)
CMYKcmyk(23.7%, 43.3%, 0%, 3.9%)
CIE-LABlab(66.23, 38.70, -46.48)
CIE-LCHlch(66.23, 60.48, 309.78°)
OKLaboklab(72.46% 0.0864 -0.1298)
OKLCHoklch(72.46% 0.156 303.6)
XYZxyz(46.2040, 35.6227, 90.8102)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BF5 #C5F58B
analogous
#8B90F5 #BB8BF5 #F08BF5
triadic
#BB8BF5 #F5BB8B #8BF5BB
tetradic
#BB8BF5 #F58B90 #C5F58B #8BF5F0
square
#BB8BF5 #F58B90 #C5F58B #8BF5F0
split-complementary
#BB8BF5 #F5F08B #90F58B
monochromatic
#791AEB #9A53F0 #BB8BF5 #DCC3FA #EEE3FD

Accessibility & contrast

On white

2.58
#BB8BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#BB8BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BF5
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BF5#FFFFFF#000000##000000
##BB8BF51.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#7BA1F2
Tritanopia (blue-blind)
#B19DB4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8bf5;
/* rgb */ color: rgb(187, 139, 245);
/* oklch */ color: oklch(72.5% 0.156 303.6);
Tailwind
colors: {
  custom: {
    50: '#d1adf9',
    500: '#bb8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bf5;
$custom-light: #d1adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bf5",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 267.17,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72458,
    "c": 0.15587,
    "h": 303.6
  },
  "luminance": 0.35623
}

Semantic roles & 50–950 ramp

primary
#BB8BF5
secondary
#E7F5D6
accent
#E1057D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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