#BB6AEE#BB6AEE

#BB6AEE is a light, vivid violet. Relative luminance 0.270; OKLCH L 67.0% C 0.199 H 310.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#BB6AEE
RGBrgb(187, 106, 238)
HSLhsl(277, 80%, 67%)
HSVhsv(277, 55%, 93%)
CMYKcmyk(21.4%, 55.5%, 0%, 6.7%)
CIE-LABlab(59.02, 54.68, -54.04)
CIE-LCHlch(59.02, 76.87, 315.34°)
OKLaboklab(66.98% 0.1293 -0.1517)
OKLCHoklch(66.98% 0.199 310.4)
XYZxyz(41.0773, 27.0467, 83.9290)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AEE #9DEE6A
analogous
#796AEE #BB6AEE #EE6ADF
triadic
#BB6AEE #EEBB6A #6AEEBB
tetradic
#BB6AEE #EE796A #9DEE6A #6ADFEE
square
#BB6AEE #EE796A #9DEE6A #6ADFEE
split-complementary
#BB6AEE #DFEE6A #6AEE79
monochromatic
#8317C7 #A233E8 #BB6AEE #D4A1F4 #EDD8FB

Accessibility & contrast

On white

3.28
#BB6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#BB6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AEE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AEE#FFFFFF#000000##000000
##BB6AEE1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#5E8FEB
Tritanopia (blue-blind)
#B582A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6aee;
/* rgb */ color: rgb(187, 106, 238);
/* oklch */ color: oklch(67.0% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#d298f4',
    500: '#bb6aee',
    950: '#000000',
  },
}
SCSS
$custom: #bb6aee;
$custom-light: #d298f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6aee",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 276.818,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66983,
    "c": 0.19927,
    "h": 310.4
  },
  "luminance": 0.27046
}

Semantic roles & 50–950 ramp

primary
#BB6AEE
secondary
#D5EFC5
accent
#DC0A5B
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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