#BB2BB4#BB2BB4

#BB2BB4 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.228 H 330.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB2BB4
RGBrgb(187, 43, 180)
HSLhsl(303, 63%, 45%)
HSVhsv(303, 77%, 73%)
CMYKcmyk(0%, 77%, 3.7%, 26.7%)
CIE-LABlab(46.43, 69.79, -40.91)
CIE-LCHlch(46.43, 80.90, 329.62°)
OKLaboklab(56.85% 0.198 -0.113)
OKLCHoklch(56.85% 0.228 330.3)
XYZxyz(29.5955, 15.5902, 44.6216)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BB4 #2BBB32
analogous
#7A2BBB #BB2BB4 #BB2B6C
triadic
#BB2BB4 #B4BB2B #2BB4BB
tetradic
#BB2BB4 #BB7A2B #2BBB32 #2B6CBB
square
#BB2BB4 #BB7A2B #2BBB32 #2B6CBB
split-complementary
#BB2BB4 #6CBB2B #2BBB7A
monochromatic
#571454 #892084 #BB2BB4 #D64DCF #E27FDD

Accessibility & contrast

On white

5.10
#BB2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BB2BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2BB4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BB4#FFFFFF#000000##FFFFFF
##BB2BB41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb2bb4;
/* rgb */ color: rgb(187, 43, 180);
/* oklch */ color: oklch(56.8% 0.228 330.3);
Tailwind
colors: {
  custom: {
    50: '#d475cb',
    500: '#bb2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2bb4;
$custom-light: #d475cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2bb4",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 302.917,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.22797,
    "h": 330.3
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#BB2BB4
secondary
#78CA7C
accent
#E64A42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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