#BB2BA7#BB2BA7

#BB2BA7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.219 H 334.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB2BA7
RGBrgb(187, 43, 167)
HSLhsl(308, 63%, 45%)
HSVhsv(308, 77%, 73%)
CMYKcmyk(0%, 77%, 10.7%, 26.7%)
CIE-LABlab(45.75, 67.84, -34.31)
CIE-LCHlch(45.75, 76.02, 333.17°)
OKLaboklab(56.14% 0.1976 -0.0939)
OKLCHoklch(56.14% 0.219 334.6)
XYZxyz(28.3328, 15.0851, 37.9713)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BA7 #2BBB3F
analogous
#872BBB #BB2BA7 #BB2B5F
triadic
#BB2BA7 #A7BB2B #2BA7BB
tetradic
#BB2BA7 #BB872B #2BBB3F #2B5FBB
square
#BB2BA7 #BB872B #2BBB3F #2B5FBB
split-complementary
#BB2BA7 #5FBB2B #2BBB87
monochromatic
#57144E #89207B #BB2BA7 #D64DC3 #E27FD4

Accessibility & contrast

On white

5.23
#BB2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2BA7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BA7#FFFFFF#000000##FFFFFF
##BB2BA71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#C43967
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ba7;
/* rgb */ color: rgb(187, 43, 167);
/* oklch */ color: oklch(56.1% 0.219 334.6);
Tailwind
colors: {
  custom: {
    50: '#d375c1',
    500: '#bb2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ba7;
$custom-light: #d375c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ba7",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 308.333,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.2188,
    "h": 334.6
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#BB2BA7
secondary
#78CA83
accent
#E65942
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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