#BB6AF5#BB6AF5

#BB6AF5 is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.4% C 0.207 H 308.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#BB6AF5
RGBrgb(187, 106, 245)
HSLhsl(275, 87%, 69%)
HSVhsv(275, 57%, 96%)
CMYKcmyk(23.7%, 56.7%, 0%, 3.9%)
CIE-LABlab(59.40, 56.20, -57.31)
CIE-LCHlch(59.40, 80.27, 314.44°)
OKLaboklab(67.39% 0.1295 -0.1612)
OKLCHoklch(67.39% 0.207 308.8)
XYZxyz(42.1257, 27.4661, 89.4508)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AF5 #A4F56A
analogous
#766AF5 #BB6AF5 #F56AEA
triadic
#BB6AF5 #F5BB6A #6AF5BB
tetradic
#BB6AF5 #F5766A #A4F56A #6AEAF5
square
#BB6AF5 #F5766A #A4F56A #6AEAF5
split-complementary
#BB6AF5 #EAF56A #6AF576
monochromatic
#830ED6 #A131F1 #BB6AF5 #D5A3F9 #EFDDFD

Accessibility & contrast

On white

3.23
#BB6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#BB6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AF5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AF5#FFFFFF#000000##000000
##BB6AF51.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CFA
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#B384A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6af5;
/* rgb */ color: rgb(187, 106, 245);
/* oklch */ color: oklch(67.4% 0.207 308.8);
Tailwind
colors: {
  custom: {
    50: '#d398f9',
    500: '#bb6af5',
    950: '#000000',
  },
}
SCSS
$custom: #bb6af5;
$custom-light: #d398f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6af5",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 274.964,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6739,
    "c": 0.20678,
    "h": 308.8
  },
  "luminance": 0.27465
}

Semantic roles & 50–950 ramp

primary
#BB6AF5
secondary
#DAF2C9
accent
#E40260
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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