#BB8BF8#BB8BF8

#BB8BF8 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.6% C 0.160 H 303.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#BB8BF8
RGBrgb(187, 139, 248)
HSLhsl(266, 89%, 76%)
HSVhsv(266, 44%, 97%)
CMYKcmyk(24.6%, 44%, 0%, 2.7%)
CIE-LABlab(66.37, 39.39, -47.90)
CIE-LCHlch(66.37, 62.02, 309.43°)
OKLaboklab(72.61% 0.0868 -0.1339)
OKLCHoklch(72.61% 0.16 303)
XYZxyz(46.6657, 35.8074, 93.2418)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BF8 #C8F88B
analogous
#8B91F8 #BB8BF8 #F18BF8
triadic
#BB8BF8 #F8BB8B #8BF8BB
tetradic
#BB8BF8 #F88B91 #C8F88B #8BF8F1
square
#BB8BF8 #F88B91 #C8F88B #8BF8F1
split-complementary
#BB8BF8 #F8F18B #91F88B
monochromatic
#7718F1 #9951F5 #BB8BF8 #DDC5FB #EEE2FD

Accessibility & contrast

On white

2.57
#BB8BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#BB8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BF8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BF8#FFFFFF#000000##000000
##BB8BF81.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#B09EB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8bf8;
/* rgb */ color: rgb(187, 139, 248);
/* oklch */ color: oklch(72.6% 0.160 303.0);
Tailwind
colors: {
  custom: {
    50: '#d1adfb',
    500: '#bb8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bf8;
$custom-light: #d1adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bf8",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 266.422,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72611,
    "c": 0.15957,
    "h": 303
  },
  "luminance": 0.35807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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