#BB1AA4#BB1AA4

#BB1AA4 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 55.0% C 0.230 H 335.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BB1AA4
RGBrgb(187, 26, 164)
HSLhsl(309, 76%, 42%)
HSVhsv(309, 86%, 73%)
CMYKcmyk(0%, 86.1%, 12.3%, 26.7%)
CIE-LABlab(44.21, 71.42, -34.94)
CIE-LCHlch(44.21, 79.51, 333.93°)
OKLaboklab(54.99% 0.2094 -0.0957)
OKLCHoklch(54.99% 0.23 335.4)
XYZxyz(27.5642, 13.9866, 36.3628)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1AA4 #1ABB31
analogous
#811ABB #BB1AA4 #BB1A54
triadic
#BB1AA4 #A4BB1A #1AA4BB
tetradic
#BB1AA4 #BB811A #1ABB31 #1A54BB
square
#BB1AA4 #BB811A #1ABB31 #1A54BB
split-complementary
#BB1AA4 #54BB1A #1ABB81
monochromatic
#500B46 #851375 #BB1AA4 #E230C9 #EA66D7

Accessibility & contrast

On white

5.53
#BB1AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BB1AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1AA4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1AA4#FFFFFF#000000##FFFFFF
##BB1AA41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#C52C62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb1aa4;
/* rgb */ color: rgb(187, 26, 164);
/* oklch */ color: oklch(55.0% 0.230 335.4);
Tailwind
colors: {
  custom: {
    50: '#d46fbf',
    500: '#bb1aa4',
    950: '#000000',
  },
}
SCSS
$custom: #bb1aa4;
$custom-light: #d46fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1aa4",
  "rgb": {
    "r": 187,
    "g": 26,
    "b": 164
  },
  "hsl": {
    "h": 308.571,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.23017,
    "h": 335.4
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB1AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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