#BB82FB#BB82FB

#BB82FB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.3% C 0.177 H 304.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#BB82FB
RGBrgb(187, 130, 251)
HSLhsl(268, 94%, 75%)
HSVhsv(268, 48%, 98%)
CMYKcmyk(25.5%, 48.2%, 0%, 1.6%)
CIE-LABlab(64.56, 45.00, -52.41)
CIE-LCHlch(64.56, 69.08, 310.65°)
OKLaboklab(71.3% 0.0992 -0.147)
OKLCHoklch(71.3% 0.177 304)
XYZxyz(45.8850, 33.4952, 95.2960)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82FB #C2FB82
analogous
#8286FB #BB82FB #F782FB
triadic
#BB82FB #FBBB82 #82FBBB
tetradic
#BB82FB #FB8286 #C2FB82 #82FBF7
square
#BB82FB #FB8286 #C2FB82 #82FBF7
split-complementary
#BB82FB #FBF782 #86FB82
monochromatic
#7A0BF7 #9B47F9 #BB82FB #DBBDFD #EFE1FE

Accessibility & contrast

On white

2.73
#BB82FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#BB82FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82FB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82FB#FFFFFF#000000##000000
##BB82FB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#B097B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb82fb;
/* rgb */ color: rgb(187, 130, 251);
/* oklch */ color: oklch(71.3% 0.177 304.0);
Tailwind
colors: {
  custom: {
    50: '#d2a7fd',
    500: '#bb82fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb82fb;
$custom-light: #d2a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82fb",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 268.264,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71303,
    "c": 0.17732,
    "h": 304
  },
  "luminance": 0.33495
}

Semantic roles & 50–950 ramp

primary
#BB82FB
secondary
#E6F6D5
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB82FB

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

Preview Lab → · Contrast checker → · Palette generator →

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