#BB6AFA#BB6AFA

#BB6AFA is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.7% C 0.212 H 307.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#BB6AFA
RGBrgb(187, 106, 250)
HSLhsl(274, 94%, 70%)
HSVhsv(274, 58%, 98%)
CMYKcmyk(25.2%, 57.6%, 0%, 2%)
CIE-LABlab(59.69, 57.31, -59.62)
CIE-LCHlch(59.69, 82.70, 313.86°)
OKLaboklab(67.69% 0.1296 -0.168)
OKLCHoklch(67.69% 0.212 307.6)
XYZxyz(42.8994, 27.7755, 93.5252)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AFA #A9FA6A
analogous
#736AFA #BB6AFA #FA6AF1
triadic
#BB6AFA #FABB6A #6AFABB
tetradic
#BB6AFA #FA736A #A9FA6A #6AF1FA
square
#BB6AFA #FA736A #A9FA6A #6AF1FA
split-complementary
#BB6AFA #F1FA6A #6AFA73
monochromatic
#8208E2 #A02FF8 #BB6AFA #D6A5FC #F1E0FE

Accessibility & contrast

On white

3.20
#BB6AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#BB6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AFA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AFA#FFFFFF#000000##000000
##BB6AFA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#328DFF
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#B185A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6afa;
/* rgb */ color: rgb(187, 106, 250);
/* oklch */ color: oklch(67.7% 0.212 307.6);
Tailwind
colors: {
  custom: {
    50: '#d398fd',
    500: '#bb6afa',
    950: '#000000',
  },
}
SCSS
$custom: #bb6afa;
$custom-light: #d398fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6afa",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 273.75,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67687,
    "c": 0.21216,
    "h": 307.6
  },
  "luminance": 0.27775
}

Semantic roles & 50–950 ramp

primary
#BB6AFA
secondary
#DDF4CC
accent
#E60064
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BB6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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