#BB82E8#BB82E8

#BB82E8 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.3% C 0.155 H 308.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#BB82E8
RGBrgb(187, 130, 232)
HSLhsl(274, 69%, 71%)
HSVhsv(274, 44%, 91%)
CMYKcmyk(19.4%, 44%, 0%, 9%)
CIE-LABlab(63.64, 40.69, -43.40)
CIE-LCHlch(63.64, 59.49, 313.16°)
OKLaboklab(70.31% 0.0967 -0.1208)
OKLCHoklch(70.31% 0.155 308.7)
XYZxyz(43.0389, 32.3568, 80.3065)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82E8 #AFE882
analogous
#8882E8 #BB82E8 #E882E2
triadic
#BB82E8 #E8BB82 #82E8BB
tetradic
#BB82E8 #E88882 #AFE882 #82E2E8
square
#BB82E8 #E88882 #AFE882 #82E2E8
split-complementary
#BB82E8 #E2E882 #82E888
monochromatic
#8225CA #9F4EDE #BB82E8 #D7B6F2 #F1E5FA

Accessibility & contrast

On white

2.81
#BB82E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#BB82E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82E8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82E8#FFFFFF#000000##000000
##BB82E81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EC
Deuteranopia (green-blind)
#799BE5
Tritanopia (blue-blind)
#B592AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb82e8;
/* rgb */ color: rgb(187, 130, 232);
/* oklch */ color: oklch(70.3% 0.155 308.7);
Tailwind
colors: {
  custom: {
    50: '#d1a7f0',
    500: '#bb82e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb82e8;
$custom-light: #d1a7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82e8",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 232
  },
  "hsl": {
    "h": 273.529,
    "s": 68.919,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70312,
    "c": 0.15472,
    "h": 308.7
  },
  "luminance": 0.32356
}

Semantic roles & 50–950 ramp

primary
#BB82E8
secondary
#E1F0D5
accent
#D11568
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB82E8

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

Preview Lab → · Contrast checker → · Palette generator →

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