#BB6AEB#BB6AEB

#BB6AEB is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.8% C 0.196 H 311.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#BB6AEB
RGBrgb(187, 106, 235)
HSLhsl(278, 76%, 67%)
HSVhsv(278, 55%, 92%)
CMYKcmyk(20.4%, 54.9%, 0%, 7.8%)
CIE-LABlab(58.86, 54.03, -52.62)
CIE-LCHlch(58.86, 75.42, 315.75°)
OKLaboklab(66.81% 0.1291 -0.1475)
OKLCHoklch(66.81% 0.196 311.2)
XYZxyz(40.6402, 26.8719, 81.6271)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AEB #9AEB6A
analogous
#7B6AEB #BB6AEB #EB6ADB
triadic
#BB6AEB #EBBB6A #6AEBBB
tetradic
#BB6AEB #EB7B6A #9AEB6A #6ADBEB
square
#BB6AEB #EB7B6A #9AEB6A #6ADBEB
split-complementary
#BB6AEB #DBEB6A #6AEB7B
monochromatic
#831AC1 #A234E4 #BB6AEB #D4A0F2 #ECD6F9

Accessibility & contrast

On white

3.29
#BB6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#BB6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AEB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AEB#FFFFFF#000000##000000
##BB6AEB1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#B581A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6aeb;
/* rgb */ color: rgb(187, 106, 235);
/* oklch */ color: oklch(66.8% 0.196 311.2);
Tailwind
colors: {
  custom: {
    50: '#d298f2',
    500: '#bb6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #bb6aeb;
$custom-light: #d298f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6aeb",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 277.674,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66812,
    "c": 0.19605,
    "h": 311.2
  },
  "luminance": 0.26871
}

Semantic roles & 50–950 ramp

primary
#BB6AEB
secondary
#D3EDC4
accent
#D90D59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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