#BB6AEA#BB6AEA

#BB6AEA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.8% C 0.195 H 311.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#BB6AEA
RGBrgb(187, 106, 234)
HSLhsl(278, 75%, 67%)
HSVhsv(278, 55%, 92%)
CMYKcmyk(20.1%, 54.7%, 0%, 8.2%)
CIE-LABlab(58.80, 53.81, -52.15)
CIE-LCHlch(58.80, 74.94, 315.90°)
OKLaboklab(66.76% 0.1291 -0.1461)
OKLCHoklch(66.76% 0.195 311.4)
XYZxyz(40.4961, 26.8143, 80.8683)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AEA #99EA6A
analogous
#7B6AEA #BB6AEA #EA6AD9
triadic
#BB6AEA #EABB6A #6AEABB
tetradic
#BB6AEA #EA7B6A #99EA6A #6AD9EA
square
#BB6AEA #EA7B6A #99EA6A #6AD9EA
split-complementary
#BB6AEA #D9EA6A #6AEA7B
monochromatic
#831BBF #A334E2 #BB6AEA #D3A0F2 #ECD5F9

Accessibility & contrast

On white

3.30
#BB6AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#BB6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AEA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AEA#FFFFFF#000000##000000
##BB6AEA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EE
Deuteranopia (green-blind)
#618FE7
Tritanopia (blue-blind)
#B680A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #bb6aea;
/* rgb */ color: rgb(187, 106, 234);
/* oklch */ color: oklch(66.8% 0.195 311.4);
Tailwind
colors: {
  custom: {
    50: '#d298f1',
    500: '#bb6aea',
    950: '#000000',
  },
}
SCSS
$custom: #bb6aea;
$custom-light: #d298f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6aea",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 277.969,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66755,
    "c": 0.19498,
    "h": 311.4
  },
  "luminance": 0.26813
}

Semantic roles & 50–950 ramp

primary
#BB6AEA
secondary
#D2EDC3
accent
#D70E58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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