#BB6AF2#BB6AF2

#BB6AF2 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.2% C 0.204 H 309.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BB6AF2
RGBrgb(187, 106, 242)
HSLhsl(276, 84%, 68%)
HSVhsv(276, 56%, 95%)
CMYKcmyk(22.7%, 56.2%, 0%, 5.1%)
CIE-LABlab(59.24, 55.55, -55.91)
CIE-LCHlch(59.24, 78.81, 314.81°)
OKLaboklab(67.21% 0.1294 -0.1571)
OKLCHoklch(67.21% 0.204 309.5)
XYZxyz(41.6715, 27.2844, 87.0584)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AF2 #A1F26A
analogous
#776AF2 #BB6AF2 #F26AE5
triadic
#BB6AF2 #F2BB6A #6AF2BB
tetradic
#BB6AF2 #F2776A #A1F26A #6AE5F2
square
#BB6AF2 #F2776A #A1F26A #6AE5F2
split-complementary
#BB6AF2 #E5F26A #6AF277
monochromatic
#8312CF #A132ED #BB6AF2 #D5A2F7 #EEDBFC

Accessibility & contrast

On white

3.25
#BB6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#BB6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AF2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AF2#FFFFFF#000000##000000
##BB6AF21.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#B483A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6af2;
/* rgb */ color: rgb(187, 106, 242);
/* oklch */ color: oklch(67.2% 0.204 309.5);
Tailwind
colors: {
  custom: {
    50: '#d398f7',
    500: '#bb6af2',
    950: '#000000',
  },
}
SCSS
$custom: #bb6af2;
$custom-light: #d398f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6af2",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 275.735,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67214,
    "c": 0.20357,
    "h": 309.5
  },
  "luminance": 0.27284
}

Semantic roles & 50–950 ramp

primary
#BB6AF2
secondary
#D8F1C7
accent
#E0055E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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