#BB82EF#BB82EF

#BB82EF is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.7% C 0.163 H 306.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#BB82EF
RGBrgb(187, 130, 239)
HSLhsl(271, 77%, 72%)
HSVhsv(271, 46%, 94%)
CMYKcmyk(21.8%, 45.6%, 0%, 6.3%)
CIE-LABlab(63.97, 42.25, -46.75)
CIE-LCHlch(63.97, 63.01, 312.11°)
OKLaboklab(70.67% 0.0977 -0.1305)
OKLCHoklch(70.67% 0.163 306.8)
XYZxyz(44.0530, 32.7625, 85.6476)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82EF #B6EF82
analogous
#8482EF #BB82EF #EF82ED
triadic
#BB82EF #EFBB82 #82EFBB
tetradic
#BB82EF #EF8482 #B6EF82 #82EDEF
square
#BB82EF #EF8482 #B6EF82 #82EDEF
split-complementary
#BB82EF #EDEF82 #82EF84
monochromatic
#801CDB #9D4CE8 #BB82EF #D9B8F6 #F0E4FC

Accessibility & contrast

On white

2.78
#BB82EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#BB82EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82EF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82EF#FFFFFF#000000##000000
##BB82EF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#B394AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb82ef;
/* rgb */ color: rgb(187, 130, 239);
/* oklch */ color: oklch(70.7% 0.163 306.8);
Tailwind
colors: {
  custom: {
    50: '#d1a7f4',
    500: '#bb82ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb82ef;
$custom-light: #d1a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82ef",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 271.376,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70668,
    "c": 0.16303,
    "h": 306.8
  },
  "luminance": 0.32762
}

Semantic roles & 50–950 ramp

primary
#BB82EF
secondary
#E5F3D8
accent
#DA0C6E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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