#BB2CA6#BB2CA6

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

Color values

HEX#BB2CA6
RGBrgb(187, 44, 166)
HSLhsl(309, 62%, 45%)
HSVhsv(309, 76%, 73%)
CMYKcmyk(0%, 76.5%, 11.2%, 26.7%)
CIE-LABlab(45.80, 67.41, -33.64)
CIE-LCHlch(45.80, 75.33, 333.48°)
OKLaboklab(56.16% 0.1967 -0.092)
OKLCHoklch(56.16% 0.217 334.9)
XYZxyz(28.2775, 15.1219, 37.4985)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CA6 #2CBB41
analogous
#882CBB #BB2CA6 #BB2C5F
triadic
#BB2CA6 #A6BB2C #2CA6BB
tetradic
#BB2CA6 #BB882C #2CBB41 #2C5FBB
square
#BB2CA6 #BB882C #2CBB41 #2C5FBB
split-complementary
#BB2CA6 #5FBB2C #2CBB88
monochromatic
#58154E #89207A #BB2CA6 #D64FC2 #E180D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB2CA6#FFFFFF#000000##FFFFFF
##BB2CA61.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)
#2B5FA9
Deuteranopia (green-blind)
#6074A3
Tritanopia (blue-blind)
#C43967
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ca6;
/* rgb */ color: rgb(187, 44, 166);
/* oklch */ color: oklch(56.2% 0.217 334.9);
Tailwind
colors: {
  custom: {
    50: '#d375c1',
    500: '#bb2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ca6;
$custom-light: #d375c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ca6",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 308.811,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.21716,
    "h": 334.9
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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