#BB82F6#BB82F6

#BB82F6 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.0% C 0.171 H 305.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#BB82F6
RGBrgb(187, 130, 246)
HSLhsl(269, 87%, 74%)
HSVhsv(269, 47%, 96%)
CMYKcmyk(24%, 47.2%, 0%, 3.5%)
CIE-LABlab(64.31, 43.84, -50.06)
CIE-LCHlch(64.31, 66.55, 311.21°)
OKLaboklab(71.04% 0.0986 -0.1401)
OKLCHoklch(71.04% 0.171 305.1)
XYZxyz(45.1072, 33.1841, 91.1998)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82F6 #BDF682
analogous
#8283F6 #BB82F6 #F582F6
triadic
#BB82F6 #F6BB82 #82F6BB
tetradic
#BB82F6 #F68283 #BDF682 #82F6F5
square
#BB82F6 #F68283 #BDF682 #82F6F5
split-complementary
#BB82F6 #F6F582 #83F682
monochromatic
#7D11ED #9C49F2 #BB82F6 #DABBFA #EFE2FD

Accessibility & contrast

On white

2.75
#BB82F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#BB82F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82F6
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82F6#FFFFFF#000000##000000
##BB82F61.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#B196B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb82f6;
/* rgb */ color: rgb(187, 130, 246);
/* oklch */ color: oklch(71.0% 0.171 305.1);
Tailwind
colors: {
  custom: {
    50: '#d2a7f9',
    500: '#bb82f6',
    950: '#000000',
  },
}
SCSS
$custom: #bb82f6;
$custom-light: #d2a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82f6",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 269.483,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71035,
    "c": 0.17136,
    "h": 305.1
  },
  "luminance": 0.33184
}

Semantic roles & 50–950 ramp

primary
#BB82F6
secondary
#E6F5D6
accent
#E30275
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB82F6

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

Preview Lab → · Contrast checker → · Palette generator →

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