#BB2CB4#BB2CB4

#BB2CB4 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.227 H 330.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BB2CB4
RGBrgb(187, 44, 180)
HSLhsl(303, 62%, 45%)
HSVhsv(303, 76%, 73%)
CMYKcmyk(0%, 76.5%, 3.7%, 26.7%)
CIE-LABlab(46.53, 69.51, -40.76)
CIE-LCHlch(46.53, 80.58, 329.61°)
OKLaboklab(56.92% 0.1972 -0.1126)
OKLCHoklch(56.92% 0.227 330.3)
XYZxyz(29.6323, 15.6638, 44.6339)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CB4 #2CBB33
analogous
#7A2CBB #BB2CB4 #BB2C6C
triadic
#BB2CB4 #B4BB2C #2CB4BB
tetradic
#BB2CB4 #BB7A2C #2CBB33 #2C6CBB
square
#BB2CB4 #BB7A2C #2CBB33 #2C6CBB
split-complementary
#BB2CB4 #6CBB2C #2CBB7A
monochromatic
#581555 #892084 #BB2CB4 #D64FCF #E180DC

Accessibility & contrast

On white

5.08
#BB2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BB2CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2CB4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2CB4#FFFFFF#000000##FFFFFF
##BB2CB41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B8
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#C2406F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2cb4;
/* rgb */ color: rgb(187, 44, 180);
/* oklch */ color: oklch(56.9% 0.227 330.3);
Tailwind
colors: {
  custom: {
    50: '#d376cb',
    500: '#bb2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2cb4;
$custom-light: #d376cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2cb4",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 302.937,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56918,
    "c": 0.22705,
    "h": 330.3
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#BB2CB4
secondary
#79CA7D
accent
#E54B43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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