#BB6BEE#BB6BEE

#BB6BEE is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.1% C 0.198 H 310.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#BB6BEE
RGBrgb(187, 107, 238)
HSLhsl(277, 79%, 68%)
HSVhsv(277, 55%, 93%)
CMYKcmyk(21.4%, 55%, 0%, 6.7%)
CIE-LABlab(59.21, 54.17, -53.73)
CIE-LCHlch(59.21, 76.30, 315.23°)
OKLaboklab(67.12% 0.128 -0.1508)
OKLCHoklch(67.12% 0.198 310.3)
XYZxyz(41.1809, 27.2540, 83.9635)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6BEE #9EEE6B
analogous
#796BEE #BB6BEE #EE6BE0
triadic
#BB6BEE #EEBB6B #6BEEBB
tetradic
#BB6BEE #EE796B #9EEE6B #6BE0EE
square
#BB6BEE #EE796B #9EEE6B #6BE0EE
split-complementary
#BB6BEE #E0EE6B #6BEE79
monochromatic
#8317C8 #A234E8 #BB6BEE #D4A2F4 #EDD9FB

Accessibility & contrast

On white

3.26
#BB6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#BB6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6BEE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6BEE#FFFFFF#000000##000000
##BB6BEE1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF2
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#B582A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6bee;
/* rgb */ color: rgb(187, 107, 238);
/* oklch */ color: oklch(67.1% 0.198 310.3);
Tailwind
colors: {
  custom: {
    50: '#d298f4',
    500: '#bb6bee',
    950: '#000000',
  },
}
SCSS
$custom: #bb6bee;
$custom-light: #d298f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6bee",
  "rgb": {
    "r": 187,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 276.641,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67123,
    "c": 0.19777,
    "h": 310.3
  },
  "luminance": 0.27253
}

Semantic roles & 50–950 ramp

primary
#BB6BEE
secondary
#D6EFC6
accent
#DC0A5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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