#BB82DC#BB82DC

#BB82DC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.7% C 0.141 H 312.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BB82DC
RGBrgb(187, 130, 220)
HSLhsl(278, 56%, 69%)
HSVhsv(278, 41%, 86%)
CMYKcmyk(15%, 40.9%, 0%, 13.7%)
CIE-LABlab(63.09, 38.08, -37.58)
CIE-LCHlch(63.09, 53.50, 315.38°)
OKLaboklab(69.73% 0.0946 -0.104)
OKLCHoklch(69.73% 0.141 312.3)
XYZxyz(41.3922, 31.6981, 71.6341)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82DC #A3DC82
analogous
#8E82DC #BB82DC #DC82D0
triadic
#BB82DC #DCBB82 #82DCBB
tetradic
#BB82DC #DC8E82 #A3DC82 #82D0DC
square
#BB82DC #DC8E82 #A3DC82 #82D0DC
split-complementary
#BB82DC #D0DC82 #82DC8E
monochromatic
#8332B2 #A152CF #BB82DC #D5B2E9 #EFE2F7

Accessibility & contrast

On white

2.86
#BB82DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BB82DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82DC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82DC#FFFFFF#000000##000000
##BB82DC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#B88FA5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb82dc;
/* rgb */ color: rgb(187, 130, 220);
/* oklch */ color: oklch(69.7% 0.141 312.3);
Tailwind
colors: {
  custom: {
    50: '#d1a7e7',
    500: '#bb82dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb82dc;
$custom-light: #d1a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82dc",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 278,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69725,
    "c": 0.14058,
    "h": 312.3
  },
  "luminance": 0.31697
}

Semantic roles & 50–950 ramp

primary
#BB82DC
secondary
#D9EACF
accent
#C4225D
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #BB82DC

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

Preview Lab → · Contrast checker → · Palette generator →

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