#BB6AEF#BB6AEF

#BB6AEF is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.0% C 0.200 H 310.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#BB6AEF
RGBrgb(187, 106, 239)
HSLhsl(277, 81%, 68%)
HSVhsv(277, 56%, 94%)
CMYKcmyk(21.8%, 55.6%, 0%, 6.3%)
CIE-LABlab(59.07, 54.89, -54.51)
CIE-LCHlch(59.07, 77.36, 315.20°)
OKLaboklab(67.04% 0.1293 -0.153)
OKLCHoklch(67.04% 0.2 310.2)
XYZxyz(41.2246, 27.1056, 84.7048)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AEF #9EEF6A
analogous
#786AEF #BB6AEF #EF6AE1
triadic
#BB6AEF #EFBB6A #6AEFBB
tetradic
#BB6AEF #EF786A #9EEF6A #6AE1EF
square
#BB6AEF #EF786A #9EEF6A #6AE1EF
split-complementary
#BB6AEF #E1EF6A #6AEF78
monochromatic
#8316C9 #A233E9 #BB6AEF #D4A1F5 #EDD9FB

Accessibility & contrast

On white

3.27
#BB6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#BB6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AEF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AEF#FFFFFF#000000##000000
##BB6AEF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF3
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#B482A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6aef;
/* rgb */ color: rgb(187, 106, 239);
/* oklch */ color: oklch(67.0% 0.200 310.2);
Tailwind
colors: {
  custom: {
    50: '#d298f5',
    500: '#bb6aef',
    950: '#000000',
  },
}
SCSS
$custom: #bb6aef;
$custom-light: #d298f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6aef",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 276.541,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67041,
    "c": 0.20034,
    "h": 310.2
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#BB6AEF
secondary
#D6EFC6
accent
#DD095C
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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