#BB2BA4#BB2BA4

#BB2BA4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.217 H 335.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BB2BA4
RGBrgb(187, 43, 164)
HSLhsl(310, 63%, 45%)
HSVhsv(310, 77%, 73%)
CMYKcmyk(0%, 77%, 12.3%, 26.7%)
CIE-LABlab(45.60, 67.41, -32.76)
CIE-LCHlch(45.60, 74.94, 334.08°)
OKLaboklab(55.98% 0.1974 -0.0895)
OKLCHoklch(55.98% 0.217 335.6)
XYZxyz(28.0587, 14.9755, 36.5276)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BA4 #2BBB42
analogous
#8A2BBB #BB2BA4 #BB2B5C
triadic
#BB2BA4 #A4BB2B #2BA4BB
tetradic
#BB2BA4 #BB8A2B #2BBB42 #2B5CBB
square
#BB2BA4 #BB8A2B #2BBB42 #2B5CBB
split-complementary
#BB2BA4 #5CBB2B #2BBB8A
monochromatic
#57144D #892078 #BB2BA4 #D64DC0 #E27FD2

Accessibility & contrast

On white

5.26
#BB2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2BA4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BA4#FFFFFF#000000##FFFFFF
##BB2BA41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#6173A1
Tritanopia (blue-blind)
#C53766
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ba4;
/* rgb */ color: rgb(187, 43, 164);
/* oklch */ color: oklch(56.0% 0.217 335.6);
Tailwind
colors: {
  custom: {
    50: '#d475bf',
    500: '#bb2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ba4;
$custom-light: #d475bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ba4",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 309.583,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.21676,
    "h": 335.6
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#BB2BA4
secondary
#78CA85
accent
#E65C42
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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