#BB82EB#BB82EB

#BB82EB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.158 H 307.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#BB82EB
RGBrgb(187, 130, 235)
HSLhsl(273, 72%, 72%)
HSVhsv(273, 45%, 92%)
CMYKcmyk(20.4%, 44.7%, 0%, 7.8%)
CIE-LABlab(63.78, 41.36, -44.84)
CIE-LCHlch(63.78, 61.00, 312.69°)
OKLaboklab(70.46% 0.0971 -0.125)
OKLCHoklch(70.46% 0.158 307.9)
XYZxyz(43.4686, 32.5287, 82.5699)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82EB #B2EB82
analogous
#8782EB #BB82EB #EB82E7
triadic
#BB82EB #EBBB82 #82EBBB
tetradic
#BB82EB #EB8782 #B2EB82 #82E7EB
square
#BB82EB #EB8782 #B2EB82 #82E7EB
split-complementary
#BB82EB #E7EB82 #82EB87
monochromatic
#8121D1 #9E4DE3 #BB82EB #D8B7F3 #F1E5FB

Accessibility & contrast

On white

2.80
#BB82EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#BB82EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82EB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82EB#FFFFFF#000000##000000
##BB82EB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#B493AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb82eb;
/* rgb */ color: rgb(187, 130, 235);
/* oklch */ color: oklch(70.5% 0.158 307.9);
Tailwind
colors: {
  custom: {
    50: '#d1a7f2',
    500: '#bb82eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb82eb;
$custom-light: #d1a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82eb",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 272.571,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.15827,
    "h": 307.9
  },
  "luminance": 0.32528
}

Semantic roles & 50–950 ramp

primary
#BB82EB
secondary
#E3F2D7
accent
#D4116A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB82EB

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

Preview Lab → · Contrast checker → · Palette generator →

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