#BB82F8#BB82F8

#BB82F8 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.1% C 0.174 H 304.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#BB82F8
RGBrgb(187, 130, 248)
HSLhsl(269, 89%, 74%)
HSVhsv(269, 48%, 97%)
CMYKcmyk(24.6%, 47.6%, 0%, 2.7%)
CIE-LABlab(64.41, 44.30, -51.00)
CIE-LCHlch(64.41, 67.56, 310.98°)
OKLaboklab(71.14% 0.0988 -0.1429)
OKLCHoklch(71.14% 0.174 304.7)
XYZxyz(45.4158, 33.3076, 92.8252)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB82F8 #BFF882
analogous
#8284F8 #BB82F8 #F682F8
triadic
#BB82F8 #F8BB82 #82F8BB
tetradic
#BB82F8 #F88284 #BFF882 #82F8F6
square
#BB82F8 #F88284 #BFF882 #82F8F6
split-complementary
#BB82F8 #F8F682 #84F882
monochromatic
#7C0EF2 #9B48F5 #BB82F8 #DBBCFB #EFE2FD

Accessibility & contrast

On white

2.74
#BB82F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#BB82F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB82F8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB82F8#FFFFFF#000000##000000
##BB82F81.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#709CF5
Tritanopia (blue-blind)
#B197B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb82f8;
/* rgb */ color: rgb(187, 130, 248);
/* oklch */ color: oklch(71.1% 0.174 304.7);
Tailwind
colors: {
  custom: {
    50: '#d2a7fb',
    500: '#bb82f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb82f8;
$custom-light: #d2a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb82f8",
  "rgb": {
    "r": 187,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 268.983,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71141,
    "c": 0.17375,
    "h": 304.7
  },
  "luminance": 0.33307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB82F8

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

Preview Lab → · Contrast checker → · Palette generator →

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