#BB6AFF#BB6AFF

#BB6AFF is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 68.0% C 0.218 H 306.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#BB6AFF
RGBrgb(187, 106, 255)
HSLhsl(273, 100%, 71%)
HSVhsv(273, 58%, 100%)
CMYKcmyk(26.7%, 58.4%, 0%, 0%)
CIE-LABlab(59.97, 58.42, -61.92)
CIE-LCHlch(59.97, 85.13, 313.33°)
OKLaboklab(67.99% 0.1296 -0.1747)
OKLCHoklch(67.99% 0.218 306.6)
XYZxyz(43.6938, 28.0933, 97.7091)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AFF #AEFF6A
analogous
#706AFF #BB6AFF #FF6AF9
triadic
#BB6AFF #FFBB6A #6AFFBB
tetradic
#BB6AFF #FF706A #AEFF6A #6AF9FF
square
#BB6AFF #FF706A #AEFF6A #6AF9FF
split-complementary
#BB6AFF #F9FF6A #6AFF70
monochromatic
#8200EF #9F2DFF #BB6AFF #D7A7FF #F1E0FF

Accessibility & contrast

On white

3.17
#BB6AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#BB6AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AFF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AFF#FFFFFF#000000##000000
##BB6AFF1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#298EFF
Deuteranopia (green-blind)
#4F91FC
Tritanopia (blue-blind)
#B087AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6aff;
/* rgb */ color: rgb(187, 106, 255);
/* oklch */ color: oklch(68.0% 0.218 306.6);
Tailwind
colors: {
  custom: {
    50: '#d398ff',
    500: '#bb6aff',
    950: '#000000',
  },
}
SCSS
$custom: #bb6aff;
$custom-light: #d398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6aff",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 272.617,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6799,
    "c": 0.21754,
    "h": 306.6
  },
  "luminance": 0.28093
}

Semantic roles & 50–950 ramp

primary
#BB6AFF
secondary
#E1F6CE
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BB6AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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