#BB6AFC#BB6AFC

#BB6AFC is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.8% C 0.214 H 307.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#BB6AFC
RGBrgb(187, 106, 252)
HSLhsl(273, 96%, 70%)
HSVhsv(273, 58%, 99%)
CMYKcmyk(25.8%, 57.9%, 0%, 1.2%)
CIE-LABlab(59.80, 57.75, -60.55)
CIE-LCHlch(59.80, 83.67, 313.65°)
OKLaboklab(67.81% 0.1296 -0.1707)
OKLCHoklch(67.81% 0.214 307.2)
XYZxyz(43.2146, 27.9016, 95.1856)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AFC #ABFC6A
analogous
#726AFC #BB6AFC #FC6AF4
triadic
#BB6AFC #FCBB6A #6AFCBB
tetradic
#BB6AFC #FC726A #ABFC6A #6AF4FC
square
#BB6AFC #FC726A #ABFC6A #6AF4FC
split-complementary
#BB6AFC #F4FC6A #6AFC72
monochromatic
#8205E7 #A02EFB #BB6AFC #D6A6FD #F1E1FE

Accessibility & contrast

On white

3.19
#BB6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#BB6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AFC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AFC#FFFFFF#000000##000000
##BB6AFC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#B186A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6afc;
/* rgb */ color: rgb(187, 106, 252);
/* oklch */ color: oklch(67.8% 0.214 307.2);
Tailwind
colors: {
  custom: {
    50: '#d398fe',
    500: '#bb6afc',
    950: '#000000',
  },
}
SCSS
$custom: #bb6afc;
$custom-light: #d398fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6afc",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 273.288,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67808,
    "c": 0.21432,
    "h": 307.2
  },
  "luminance": 0.27901
}

Semantic roles & 50–950 ramp

primary
#BB6AFC
secondary
#DFF5CD
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BB6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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