#BB46AB#BB46AB

#BB46AB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.190 H 333.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BB46AB
RGBrgb(187, 70, 171)
HSLhsl(308, 46%, 50%)
HSVhsv(308, 63%, 73%)
CMYKcmyk(0%, 62.6%, 8.6%, 26.7%)
CIE-LABlab(49.36, 58.84, -31.02)
CIE-LCHlch(49.36, 66.51, 332.21°)
OKLaboklab(58.81% 0.1698 -0.0847)
OKLCHoklch(58.81% 0.19 333.5)
XYZxyz(30.0345, 17.8877, 40.3910)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB46AB #46BB56
analogous
#9046BB #BB46AB #BB4670
triadic
#BB46AB #ABBB46 #46ABBB
tetradic
#BB46AB #BB9046 #46BB56 #4670BB
square
#BB46AB #BB9046 #46BB56 #4670BB
split-complementary
#BB46AB #70BB46 #46BB90
monochromatic
#62245A #8F3583 #BB46AB #CB73BF #DCA0D4

Accessibility & contrast

On white

4.59
#BB46AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BB46AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB46AB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB46AB#FFFFFF#000000##FFFFFF
##BB46AB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#C34F72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb46ab;
/* rgb */ color: rgb(187, 70, 171);
/* oklch */ color: oklch(58.8% 0.190 333.5);
Tailwind
colors: {
  custom: {
    50: '#d281c4',
    500: '#bb46ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb46ab;
$custom-light: #d281c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb46ab",
  "rgb": {
    "r": 187,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 308.205,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.18973,
    "h": 333.5
  },
  "luminance": 0.17885
}

Semantic roles & 50–950 ramp

primary
#BB46AB
secondary
#94C89B
accent
#D66452
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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