#BB6AEC#BB6AEC

#BB6AEC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.9% C 0.197 H 310.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#BB6AEC
RGBrgb(187, 106, 236)
HSLhsl(277, 77%, 67%)
HSVhsv(277, 55%, 93%)
CMYKcmyk(20.8%, 55.1%, 0%, 7.5%)
CIE-LABlab(58.91, 54.25, -53.10)
CIE-LCHlch(58.91, 75.91, 315.61°)
OKLaboklab(66.87% 0.1292 -0.1489)
OKLCHoklch(66.87% 0.197 310.9)
XYZxyz(40.7851, 26.9298, 82.3901)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AEC #9BEC6A
analogous
#7A6AEC #BB6AEC #EC6ADC
triadic
#BB6AEC #ECBB6A #6AECBB
tetradic
#BB6AEC #EC7A6A #9BEC6A #6ADCEC
square
#BB6AEC #EC7A6A #9BEC6A #6ADCEC
split-complementary
#BB6AEC #DCEC6A #6AEC7A
monochromatic
#8319C3 #A234E5 #BB6AEC #D4A0F3 #EDD7FA

Accessibility & contrast

On white

3.29
#BB6AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#BB6AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AEC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AEC#FFFFFF#000000##000000
##BB6AEC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#B581A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6aec;
/* rgb */ color: rgb(187, 106, 236);
/* oklch */ color: oklch(66.9% 0.197 310.9);
Tailwind
colors: {
  custom: {
    50: '#d298f3',
    500: '#bb6aec',
    950: '#000000',
  },
}
SCSS
$custom: #bb6aec;
$custom-light: #d298f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6aec",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 277.385,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66869,
    "c": 0.19713,
    "h": 310.9
  },
  "luminance": 0.26929
}

Semantic roles & 50–950 ramp

primary
#BB6AEC
secondary
#D4EEC4
accent
#DA0C59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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