#BB1AA3#BB1AA3

#BB1AA3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.9% C 0.230 H 335.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BB1AA3
RGBrgb(187, 26, 163)
HSLhsl(309, 76%, 42%)
HSVhsv(309, 86%, 73%)
CMYKcmyk(0%, 86.1%, 12.8%, 26.7%)
CIE-LABlab(44.16, 71.28, -34.43)
CIE-LCHlch(44.16, 79.16, 334.22°)
OKLaboklab(54.94% 0.2093 -0.0942)
OKLCHoklch(54.94% 0.23 335.8)
XYZxyz(27.4743, 13.9506, 35.8890)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1AA3 #1ABB32
analogous
#831ABB #BB1AA3 #BB1A53
triadic
#BB1AA3 #A3BB1A #1AA3BB
tetradic
#BB1AA3 #BB831A #1ABB32 #1A53BB
square
#BB1AA3 #BB831A #1ABB32 #1A53BB
split-complementary
#BB1AA3 #53BB1A #1ABB83
monochromatic
#500B45 #851374 #BB1AA3 #E230C8 #EA66D6

Accessibility & contrast

On white

5.54
#BB1AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BB1AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1AA3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1AA3#FFFFFF#000000##FFFFFF
##BB1AA31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA6
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#C52C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb1aa3;
/* rgb */ color: rgb(187, 26, 163);
/* oklch */ color: oklch(54.9% 0.230 335.8);
Tailwind
colors: {
  custom: {
    50: '#d46fbe',
    500: '#bb1aa3',
    950: '#000000',
  },
}
SCSS
$custom: #bb1aa3;
$custom-light: #d46fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1aa3",
  "rgb": {
    "r": 187,
    "g": 26,
    "b": 163
  },
  "hsl": {
    "h": 308.944,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.22952,
    "h": 335.8
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#BB1AA3
secondary
#62CF72
accent
#F25236
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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