#BB8BF1#BB8BF1

#BB8BF1 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.3% C 0.151 H 304.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#BB8BF1
RGBrgb(187, 139, 241)
HSLhsl(268, 78%, 75%)
HSVhsv(268, 42%, 95%)
CMYKcmyk(22.4%, 42.3%, 0%, 5.5%)
CIE-LABlab(66.04, 37.78, -44.58)
CIE-LCHlch(66.04, 58.44, 310.28°)
OKLaboklab(72.26% 0.0857 -0.1242)
OKLCHoklch(72.26% 0.151 304.6)
XYZxyz(45.6000, 35.3811, 87.6290)
Luminance0.3538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BF1 #C1F18B
analogous
#8B8EF1 #BB8BF1 #EE8BF1
triadic
#BB8BF1 #F1BB8B #8BF1BB
tetradic
#BB8BF1 #F18B8E #C1F18B #8BF1EE
square
#BB8BF1 #F18B8E #C1F18B #8BF1EE
split-complementary
#BB8BF1 #F1EE8B #8EF18B
monochromatic
#7B1EE4 #9B54EA #BB8BF1 #DBC2F8 #EFE4FC

Accessibility & contrast

On white

2.60
#BB8BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#BB8BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BF1
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BF1#FFFFFF#000000##000000
##BB8BF11.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF5
Deuteranopia (green-blind)
#7DA1EE
Tritanopia (blue-blind)
#B29CB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8bf1;
/* rgb */ color: rgb(187, 139, 241);
/* oklch */ color: oklch(72.3% 0.151 304.6);
Tailwind
colors: {
  custom: {
    50: '#d1adf6',
    500: '#bb8bf1',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bf1;
$custom-light: #d1adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bf1",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 268.235,
    "s": 78.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72257,
    "c": 0.15094,
    "h": 304.6
  },
  "luminance": 0.35381
}

Semantic roles & 50–950 ramp

primary
#BB8BF1
secondary
#E6F4D7
accent
#DB0B79
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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