#BB82FE#BB82FE

#BB82FE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.5% C 0.181 H 303.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#BB82FE
RGBrgb(187, 130, 254)
HSLhsl(268, 98%, 75%)
HSVhsv(268, 49%, 100%)
CMYKcmyk(26.4%, 48.8%, 0%, 0.4%)
CIE-LABlab(64.71, 45.69, -53.81)
CIE-LCHlch(64.71, 70.59, 310.33°)
OKLaboklab(71.47% 0.0995 -0.1511)
OKLCHoklch(71.47% 0.181 303.4)
XYZxyz(46.3616, 33.6859, 97.8063)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82FE #C5FE82
analogous
#8287FE #BB82FE #F982FE
triadic
#BB82FE #FEBB82 #82FEBB
tetradic
#BB82FE #FE8287 #C5FE82 #82FEF9
square
#BB82FE #FE8287 #C5FE82 #82FEF9
split-complementary
#BB82FE #FEF982 #87FE82
monochromatic
#7909FD #9A45FE #BB82FE #DCBFFE #EEE1FF

Accessibility & contrast

On white

2.71
#BB82FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#BB82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82FE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82FE#FFFFFF#000000##000000
##BB82FE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#AF98B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb82fe;
/* rgb */ color: rgb(187, 130, 254);
/* oklch */ color: oklch(71.5% 0.181 303.4);
Tailwind
colors: {
  custom: {
    50: '#d2a7ff',
    500: '#bb82fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb82fe;
$custom-light: #d2a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82fe",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 267.581,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71466,
    "c": 0.1809,
    "h": 303.4
  },
  "luminance": 0.33686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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