#BB2CB6#BB2CB6

#BB2CB6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.229 H 329.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB2CB6
RGBrgb(187, 44, 182)
HSLhsl(302, 62%, 45%)
HSVhsv(302, 76%, 73%)
CMYKcmyk(0%, 76.5%, 2.7%, 26.7%)
CIE-LABlab(46.64, 69.82, -41.76)
CIE-LCHlch(46.64, 81.36, 329.12°)
OKLaboklab(57.03% 0.1972 -0.1155)
OKLCHoklch(57.03% 0.229 329.6)
XYZxyz(29.8375, 15.7459, 45.7147)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CB6 #2CBB31
analogous
#782CBB #BB2CB6 #BB2C6E
triadic
#BB2CB6 #B6BB2C #2CB6BB
tetradic
#BB2CB6 #BB782C #2CBB31 #2C6EBB
square
#BB2CB6 #BB782C #2CBB31 #2C6EBB
split-complementary
#BB2CB6 #6EBB2C #2CBB78
monochromatic
#581556 #892086 #BB2CB6 #D64FD1 #E180DE

Accessibility & contrast

On white

5.06
#BB2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB2CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2CB6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2CB6#FFFFFF#000000##FFFFFF
##BB2CB61.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1362BA
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#C24170
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2cb6;
/* rgb */ color: rgb(187, 44, 182);
/* oklch */ color: oklch(57.0% 0.229 329.6);
Tailwind
colors: {
  custom: {
    50: '#d376cc',
    500: '#bb2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #bb2cb6;
$custom-light: #d376cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2cb6",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 302.098,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57031,
    "c": 0.2285,
    "h": 329.6
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#BB2CB6
secondary
#79CA7C
accent
#E54843
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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