#BB82F2#BB82F2

#BB82F2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.8% C 0.167 H 306.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#BB82F2
RGBrgb(187, 130, 242)
HSLhsl(271, 81%, 73%)
HSVhsv(271, 46%, 95%)
CMYKcmyk(22.7%, 46.3%, 0%, 5.1%)
CIE-LABlab(64.11, 42.93, -48.17)
CIE-LCHlch(64.11, 64.53, 311.71°)
OKLaboklab(70.82% 0.0981 -0.1346)
OKLCHoklch(70.82% 0.167 306.1)
XYZxyz(44.4999, 32.9412, 88.0012)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82F2 #B9F282
analogous
#8382F2 #BB82F2 #F282F1
triadic
#BB82F2 #F2BB82 #82F2BB
tetradic
#BB82F2 #F28382 #B9F282 #82F1F2
square
#BB82F2 #F28382 #B9F282 #82F1F2
split-complementary
#BB82F2 #F1F282 #82F283
monochromatic
#7F18E2 #9D4BEC #BB82F2 #D9B9F8 #F0E3FC

Accessibility & contrast

On white

2.77
#BB82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#BB82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82F2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82F2#FFFFFF#000000##000000
##BB82F21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#739CEF
Tritanopia (blue-blind)
#B395AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb82f2;
/* rgb */ color: rgb(187, 130, 242);
/* oklch */ color: oklch(70.8% 0.167 306.1);
Tailwind
colors: {
  custom: {
    50: '#d2a7f7',
    500: '#bb82f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb82f2;
$custom-light: #d2a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82f2",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 270.536,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70824,
    "c": 0.16659,
    "h": 306.1
  },
  "luminance": 0.32941
}

Semantic roles & 50–950 ramp

primary
#BB82F2
secondary
#E5F4D7
accent
#DE0871
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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