#BB82FC#BB82FC

#BB82FC is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.4% C 0.179 H 303.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#BB82FC
RGBrgb(187, 130, 252)
HSLhsl(268, 95%, 75%)
HSVhsv(268, 48%, 99%)
CMYKcmyk(25.8%, 48.4%, 0%, 1.2%)
CIE-LABlab(64.61, 45.23, -52.88)
CIE-LCHlch(64.61, 69.58, 310.54°)
OKLaboklab(71.36% 0.0993 -0.1484)
OKLCHoklch(71.36% 0.179 303.8)
XYZxyz(46.0430, 33.5585, 96.1284)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82FC #C3FC82
analogous
#8286FC #BB82FC #F882FC
triadic
#BB82FC #FCBB82 #82FCBB
tetradic
#BB82FC #FC8286 #C3FC82 #82FCF8
square
#BB82FC #FC8286 #C3FC82 #82FCF8
split-complementary
#BB82FC #FCF882 #86FC82
monochromatic
#7A0AF9 #9A46FB #BB82FC #DCBEFD #EFE1FE

Accessibility & contrast

On white

2.72
#BB82FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#BB82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82FC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82FC#FFFFFF#000000##000000
##BB82FC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb82fc;
/* rgb */ color: rgb(187, 130, 252);
/* oklch */ color: oklch(71.4% 0.179 303.8);
Tailwind
colors: {
  custom: {
    50: '#d2a7fe',
    500: '#bb82fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb82fc;
$custom-light: #d2a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82fc",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 268.033,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71357,
    "c": 0.17851,
    "h": 303.8
  },
  "luminance": 0.33558
}

Semantic roles & 50–950 ramp

primary
#BB82FC
secondary
#E7F7D4
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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