#BB8DFC#BB8DFC

#BB8DFC is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.2% C 0.161 H 301.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#BB8DFC
RGBrgb(187, 141, 252)
HSLhsl(265, 95%, 77%)
HSVhsv(265, 44%, 99%)
CMYKcmyk(25.8%, 44%, 0%, 1.2%)
CIE-LABlab(67.01, 39.23, -49.09)
CIE-LCHlch(67.01, 62.84, 308.63°)
OKLaboklab(73.15% 0.0847 -0.1373)
OKLCHoklch(73.15% 0.161 301.7)
XYZxyz(47.5852, 36.6427, 96.6424)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DFC #CEFC8D
analogous
#8D97FC #BB8DFC #F38DFC
triadic
#BB8DFC #FCBB8D #8DFCBB
tetradic
#BB8DFC #FC8D97 #CEFC8D #8DFCF3
square
#BB8DFC #FC8D97 #CEFC8D #8DFCF3
split-complementary
#BB8DFC #FCF38D #97FC8D
monochromatic
#7416F9 #9751FA #BB8DFC #DFC9FE #EDE1FE

Accessibility & contrast

On white

2.52
#BB8DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#BB8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8DFC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8DFC#FFFFFF#000000##000000
##BB8DFC1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#AFA0B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8dfc;
/* rgb */ color: rgb(187, 141, 252);
/* oklch */ color: oklch(73.2% 0.161 301.7);
Tailwind
colors: {
  custom: {
    50: '#d2affe',
    500: '#bb8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #bb8dfc;
$custom-light: #d2affe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8dfc",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 264.865,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73151,
    "c": 0.16136,
    "h": 301.7
  },
  "luminance": 0.36643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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