#BB2AA5#BB2AA5

#BB2AA5 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.218 H 335.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB2AA5
RGBrgb(187, 42, 165)
HSLhsl(309, 63%, 45%)
HSVhsv(309, 78%, 73%)
CMYKcmyk(0%, 77.5%, 11.8%, 26.7%)
CIE-LABlab(45.55, 67.83, -33.43)
CIE-LCHlch(45.55, 75.62, 333.76°)
OKLaboklab(55.96% 0.1983 -0.0914)
OKLCHoklch(55.96% 0.218 335.3)
XYZxyz(28.1134, 14.9399, 36.9931)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AA5 #2ABB40
analogous
#882ABB #BB2AA5 #BB2A5D
triadic
#BB2AA5 #A5BB2A #2AA5BB
tetradic
#BB2AA5 #BB882A #2ABB40 #2A5DBB
square
#BB2AA5 #BB882A #2ABB40 #2A5DBB
split-complementary
#BB2AA5 #5DBB2A #2ABB88
monochromatic
#57144D #891F79 #BB2AA5 #D74CC2 #E27DD3

Accessibility & contrast

On white

5.27
#BB2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BB2AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AA5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AA5#FFFFFF#000000##FFFFFF
##BB2AA51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#C43766
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2aa5;
/* rgb */ color: rgb(187, 42, 165);
/* oklch */ color: oklch(56.0% 0.218 335.3);
Tailwind
colors: {
  custom: {
    50: '#d474c0',
    500: '#bb2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #bb2aa5;
$custom-light: #d474c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2aa5",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 309.103,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.21838,
    "h": 335.3
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#BB2AA5
secondary
#76CA83
accent
#E65A41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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