#BB2CA5#BB2CA5

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

Color values

HEX#BB2CA5
RGBrgb(187, 44, 165)
HSLhsl(309, 62%, 45%)
HSVhsv(309, 76%, 73%)
CMYKcmyk(0%, 76.5%, 11.8%, 26.7%)
CIE-LABlab(45.75, 67.26, -33.12)
CIE-LCHlch(45.75, 74.97, 333.78°)
OKLaboklab(56.11% 0.1966 -0.0905)
OKLCHoklch(56.11% 0.216 335.3)
XYZxyz(28.1861, 15.0853, 37.0173)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CA5 #2CBB42
analogous
#8A2CBB #BB2CA5 #BB2C5D
triadic
#BB2CA5 #A5BB2C #2CA5BB
tetradic
#BB2CA5 #BB8A2C #2CBB42 #2C5DBB
square
#BB2CA5 #BB8A2C #2CBB42 #2C5DBB
split-complementary
#BB2CA5 #5DBB2C #2CBB8A
monochromatic
#58154E #892079 #BB2CA5 #D64FC1 #E180D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB2CA5#FFFFFF#000000##FFFFFF
##BB2CA51.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)
#2C5FA8
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#C43866
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ca5;
/* rgb */ color: rgb(187, 44, 165);
/* oklch */ color: oklch(56.1% 0.216 335.3);
Tailwind
colors: {
  custom: {
    50: '#d375c0',
    500: '#bb2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ca5;
$custom-light: #d375c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ca5",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 309.231,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.21647,
    "h": 335.3
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#BB2CA5
secondary
#79CA85
accent
#E55C43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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