#BB6AFE#BB6AFE

#BB6AFE is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.9% C 0.216 H 306.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#BB6AFE
RGBrgb(187, 106, 254)
HSLhsl(273, 99%, 71%)
HSVhsv(273, 58%, 100%)
CMYKcmyk(26.4%, 58.3%, 0%, 0.4%)
CIE-LABlab(59.91, 58.20, -61.46)
CIE-LCHlch(59.91, 84.64, 313.44°)
OKLaboklab(67.93% 0.1296 -0.1734)
OKLCHoklch(67.93% 0.216 306.8)
XYZxyz(43.5332, 28.0291, 96.8635)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AFE #ADFE6A
analogous
#716AFE #BB6AFE #FE6AF7
triadic
#BB6AFE #FEBB6A #6AFEBB
tetradic
#BB6AFE #FE716A #ADFE6A #6AF7FE
square
#BB6AFE #FE716A #ADFE6A #6AF7FE
split-complementary
#BB6AFE #F7FE6A #6AFE71
monochromatic
#8202EC #9F2DFE #BB6AFE #D7A7FE #F1E1FF

Accessibility & contrast

On white

3.18
#BB6AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#BB6AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AFE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AFE#FFFFFF#000000##000000
##BB6AFE1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8EFF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#B087AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6afe;
/* rgb */ color: rgb(187, 106, 254);
/* oklch */ color: oklch(67.9% 0.216 306.8);
Tailwind
colors: {
  custom: {
    50: '#d398ff',
    500: '#bb6afe',
    950: '#000000',
  },
}
SCSS
$custom: #bb6afe;
$custom-light: #d398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6afe",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 272.838,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67929,
    "c": 0.21647,
    "h": 306.8
  },
  "luminance": 0.28029
}

Semantic roles & 50–950 ramp

primary
#BB6AFE
secondary
#E0F6CE
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BB6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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