#BB2BA8#BB2BA8

#BB2BA8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.220 H 334.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BB2BA8
RGBrgb(187, 43, 168)
HSLhsl(308, 63%, 45%)
HSVhsv(308, 77%, 73%)
CMYKcmyk(0%, 77%, 10.2%, 26.7%)
CIE-LABlab(45.80, 67.99, -34.82)
CIE-LCHlch(45.80, 76.39, 332.88°)
OKLaboklab(56.19% 0.1977 -0.0954)
OKLCHoklch(56.19% 0.22 334.2)
XYZxyz(28.4256, 15.1222, 38.4600)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BA8 #2BBB3E
analogous
#862BBB #BB2BA8 #BB2B60
triadic
#BB2BA8 #A8BB2B #2BA8BB
tetradic
#BB2BA8 #BB862B #2BBB3E #2B60BB
square
#BB2BA8 #BB862B #2BBB3E #2B60BB
split-complementary
#BB2BA8 #60BB2B #2BBB86
monochromatic
#57144F #89207B #BB2BA8 #D64DC4 #E27FD5

Accessibility & contrast

On white

5.22
#BB2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB2BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2BA8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BA8#FFFFFF#000000##FFFFFF
##BB2BA81.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAB
Deuteranopia (green-blind)
#5F74A5
Tritanopia (blue-blind)
#C43968
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ba8;
/* rgb */ color: rgb(187, 43, 168);
/* oklch */ color: oklch(56.2% 0.220 334.2);
Tailwind
colors: {
  custom: {
    50: '#d375c2',
    500: '#bb2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ba8;
$custom-light: #d375c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ba8",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 307.917,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.2195,
    "h": 334.2
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#BB2BA8
secondary
#78CA83
accent
#E65842
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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