#BB8BF7#BB8BF7

#BB8BF7 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.6% C 0.158 H 303.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#BB8BF7
RGBrgb(187, 139, 247)
HSLhsl(267, 87%, 76%)
HSVhsv(267, 44%, 97%)
CMYKcmyk(24.3%, 43.7%, 0%, 3.1%)
CIE-LABlab(66.33, 39.16, -47.43)
CIE-LCHlch(66.33, 61.51, 309.55°)
OKLaboklab(72.56% 0.0867 -0.1325)
OKLCHoklch(72.56% 0.158 303.2)
XYZxyz(46.5110, 35.7455, 92.4269)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BF7 #C7F78B
analogous
#8B91F7 #BB8BF7 #F18BF7
triadic
#BB8BF7 #F7BB8B #8BF7BB
tetradic
#BB8BF7 #F78B91 #C7F78B #8BF7F1
square
#BB8BF7 #F78B91 #C7F78B #8BF7F1
split-complementary
#BB8BF7 #F7F18B #91F78B
monochromatic
#7818EF #9952F3 #BB8BF7 #DDC4FB #EEE2FD

Accessibility & contrast

On white

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

On black

8.15
#BB8BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BF7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BF7#FFFFFF#000000##000000
##BB8BF71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#B19DB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8bf7;
/* rgb */ color: rgb(187, 139, 247);
/* oklch */ color: oklch(72.6% 0.158 303.2);
Tailwind
colors: {
  custom: {
    50: '#d1adfa',
    500: '#bb8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bf7;
$custom-light: #d1adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bf7",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 266.667,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7256,
    "c": 0.15834,
    "h": 303.2
  },
  "luminance": 0.35745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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