#BB2CB9#BB2CB9

#BB2CB9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.231 H 328.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB2CB9
RGBrgb(187, 44, 185)
HSLhsl(301, 62%, 45%)
HSVhsv(301, 76%, 73%)
CMYKcmyk(0%, 76.5%, 1.1%, 26.7%)
CIE-LABlab(46.81, 70.29, -43.26)
CIE-LCHlch(46.81, 82.53, 328.39°)
OKLaboklab(57.2% 0.1971 -0.1198)
OKLCHoklch(57.2% 0.231 328.7)
XYZxyz(30.1509, 15.8712, 47.3650)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CB9 #2CBB2E
analogous
#752CBB #BB2CB9 #BB2C72
triadic
#BB2CB9 #B9BB2C #2CB9BB
tetradic
#BB2CB9 #BB752C #2CBB2E #2C72BB
square
#BB2CB9 #BB752C #2CBB2E #2C72BB
split-complementary
#BB2CB9 #72BB2C #2CBB75
monochromatic
#581557 #892088 #BB2CB9 #D64FD4 #E180E0

Accessibility & contrast

On white

5.03
#BB2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB2CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2CB9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2CB9#FFFFFF#000000##FFFFFF
##BB2CB91.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BD
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#C14372
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2cb9;
/* rgb */ color: rgb(187, 44, 185);
/* oklch */ color: oklch(57.2% 0.231 328.7);
Tailwind
colors: {
  custom: {
    50: '#d476ce',
    500: '#bb2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #bb2cb9;
$custom-light: #d476ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2cb9",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 300.839,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.23069,
    "h": 328.7
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#BB2CB9
secondary
#79CA7A
accent
#E54543
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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