#BB2CA4#BB2CA4

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

Color values

HEX#BB2CA4
RGBrgb(187, 44, 164)
HSLhsl(310, 62%, 45%)
HSVhsv(310, 76%, 73%)
CMYKcmyk(0%, 76.5%, 12.3%, 26.7%)
CIE-LABlab(45.70, 67.12, -32.60)
CIE-LCHlch(45.70, 74.62, 334.09°)
OKLaboklab(56.06% 0.1966 -0.089)
OKLCHoklch(56.06% 0.216 335.6)
XYZxyz(28.0955, 15.0491, 36.5398)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CA4 #2CBB43
analogous
#8A2CBB #BB2CA4 #BB2C5D
triadic
#BB2CA4 #A4BB2C #2CA4BB
tetradic
#BB2CA4 #BB8A2C #2CBB43 #2C5DBB
square
#BB2CA4 #BB8A2C #2CBB43 #2C5DBB
split-complementary
#BB2CA4 #5DBB2C #2CBB8A
monochromatic
#58154D #892079 #BB2CA4 #D64FC0 #E180D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB2CA4#FFFFFF#000000##FFFFFF
##BB2CA41.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)
#2D5FA7
Deuteranopia (green-blind)
#6174A1
Tritanopia (blue-blind)
#C53866
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ca4;
/* rgb */ color: rgb(187, 44, 164);
/* oklch */ color: oklch(56.1% 0.216 335.6);
Tailwind
colors: {
  custom: {
    50: '#d375bf',
    500: '#bb2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ca4;
$custom-light: #d375bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ca4",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 309.65,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.21579,
    "h": 335.6
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#BB2CA4
secondary
#79CA86
accent
#E55D43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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