#BB8BFD#BB8BFD

#BB8BFD is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.9% C 0.166 H 301.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BB8BFD
RGBrgb(187, 139, 253)
HSLhsl(265, 97%, 77%)
HSVhsv(265, 45%, 99%)
CMYKcmyk(26.1%, 45.1%, 0%, 0.8%)
CIE-LABlab(66.61, 40.56, -50.26)
CIE-LCHlch(66.61, 64.58, 308.90°)
OKLaboklab(72.87% 0.0875 -0.1407)
OKLCHoklch(72.87% 0.166 301.9)
XYZxyz(47.4518, 36.1218, 97.3818)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BFD #CDFD8B
analogous
#8B94FD #BB8BFD #F48BFD
triadic
#BB8BFD #FDBB8B #8BFDBB
tetradic
#BB8BFD #FD8B94 #CDFD8B #8BFDF4
square
#BB8BFD #FD8B94 #CDFD8B #8BFDF4
split-complementary
#BB8BFD #FDF48B #94FD8B
monochromatic
#7413FB #984FFC #BB8BFD #DEC7FE #EDE1FE

Accessibility & contrast

On white

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

On black

8.22
#BB8BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BFD
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BFD#FFFFFF#000000##000000
##BB8BFD1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#AF9FB8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8bfd;
/* rgb */ color: rgb(187, 139, 253);
/* oklch */ color: oklch(72.9% 0.166 301.9);
Tailwind
colors: {
  custom: {
    50: '#d2aefe',
    500: '#bb8bfd',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bfd;
$custom-light: #d2aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bfd",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 265.263,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7287,
    "c": 0.16573,
    "h": 301.9
  },
  "luminance": 0.36122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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