#BB2BA5#BB2BA5

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

Color values

HEX#BB2BA5
RGBrgb(187, 43, 165)
HSLhsl(309, 63%, 45%)
HSVhsv(309, 77%, 73%)
CMYKcmyk(0%, 77%, 11.8%, 26.7%)
CIE-LABlab(45.65, 67.55, -33.28)
CIE-LCHlch(45.65, 75.30, 333.77°)
OKLaboklab(56.04% 0.1975 -0.091)
OKLCHoklch(56.04% 0.217 335.3)
XYZxyz(28.1493, 15.0117, 37.0050)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BA5 #2BBB41
analogous
#892BBB #BB2BA5 #BB2B5D
triadic
#BB2BA5 #A5BB2B #2BA5BB
tetradic
#BB2BA5 #BB892B #2BBB41 #2B5DBB
square
#BB2BA5 #BB892B #2BBB41 #2B5DBB
split-complementary
#BB2BA5 #5DBB2B #2BBB89
monochromatic
#57144D #892079 #BB2BA5 #D64DC1 #E27FD2

Accessibility & contrast

On white

5.25
#BB2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BB2BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2BA5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BA5#FFFFFF#000000##FFFFFF
##BB2BA51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA8
Deuteranopia (green-blind)
#6074A2
Tritanopia (blue-blind)
#C43866
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ba5;
/* rgb */ color: rgb(187, 43, 165);
/* oklch */ color: oklch(56.0% 0.217 335.3);
Tailwind
colors: {
  custom: {
    50: '#d475c0',
    500: '#bb2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ba5;
$custom-light: #d475c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ba5",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 309.167,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.21744,
    "h": 335.3
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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