#BB8BFC#BB8BFC

#BB8BFC is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.8% C 0.165 H 302.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#BB8BFC
RGBrgb(187, 139, 252)
HSLhsl(265, 95%, 77%)
HSVhsv(265, 45%, 99%)
CMYKcmyk(25.8%, 44.8%, 0%, 1.2%)
CIE-LABlab(66.56, 40.33, -49.79)
CIE-LCHlch(66.56, 64.07, 309.01°)
OKLaboklab(72.82% 0.0874 -0.1394)
OKLCHoklch(72.82% 0.165 302.1)
XYZxyz(47.2929, 36.0583, 96.5450)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BFC #CCFC8B
analogous
#8B94FC #BB8BFC #F48BFC
triadic
#BB8BFC #FCBB8B #8BFCBB
tetradic
#BB8BFC #FC8B94 #CCFC8B #8BFCF4
square
#BB8BFC #FC8B94 #CCFC8B #8BFCF4
split-complementary
#BB8BFC #FCF48B #94FC8B
monochromatic
#7514F9 #984FFA #BB8BFC #DEC7FE #EEE1FE

Accessibility & contrast

On white

2.56
#BB8BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#BB8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BFC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BFC#FFFFFF#000000##000000
##BB8BFC1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb8bfc;
/* rgb */ color: rgb(187, 139, 252);
/* oklch */ color: oklch(72.8% 0.165 302.1);
Tailwind
colors: {
  custom: {
    50: '#d2aefe',
    500: '#bb8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bfc;
$custom-light: #d2aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bfc",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 265.487,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72818,
    "c": 0.1645,
    "h": 302.1
  },
  "luminance": 0.36058
}

Semantic roles & 50–950 ramp

primary
#BB8BFC
secondary
#E8F6D5
accent
#E60084
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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