#BB2BA6#BB2BA6

#BB2BA6 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.218 H 334.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB2BA6
RGBrgb(187, 43, 166)
HSLhsl(309, 63%, 45%)
HSVhsv(309, 77%, 73%)
CMYKcmyk(0%, 77%, 11.2%, 26.7%)
CIE-LABlab(45.70, 67.69, -33.79)
CIE-LCHlch(45.70, 75.66, 333.47°)
OKLaboklab(56.09% 0.1976 -0.0925)
OKLCHoklch(56.09% 0.218 334.9)
XYZxyz(28.2407, 15.0483, 37.4863)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BA6 #2BBB40
analogous
#882BBB #BB2BA6 #BB2B5E
triadic
#BB2BA6 #A6BB2B #2BA6BB
tetradic
#BB2BA6 #BB882B #2BBB40 #2B5EBB
square
#BB2BA6 #BB882B #2BBB40 #2B5EBB
split-complementary
#BB2BA6 #5EBB2B #2BBB88
monochromatic
#57144E #89207A #BB2BA6 #D64DC2 #E27FD3

Accessibility & contrast

On white

5.24
#BB2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BB2BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2BA6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BA6#FFFFFF#000000##FFFFFF
##BB2BA61.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FA9
Deuteranopia (green-blind)
#6074A3
Tritanopia (blue-blind)
#C43867
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ba6;
/* rgb */ color: rgb(187, 43, 166);
/* oklch */ color: oklch(56.1% 0.218 334.9);
Tailwind
colors: {
  custom: {
    50: '#d375c1',
    500: '#bb2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ba6;
$custom-light: #d375c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ba6",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 308.75,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.21812,
    "h": 334.9
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#BB2BA6
secondary
#78CA84
accent
#E65A42
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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