#BB2BB7#BB2BB7

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

Color values

HEX#BB2BB7
RGBrgb(187, 43, 183)
HSLhsl(302, 63%, 45%)
HSVhsv(302, 77%, 73%)
CMYKcmyk(0%, 77%, 2.1%, 26.7%)
CIE-LABlab(46.60, 70.26, -42.42)
CIE-LCHlch(46.60, 82.07, 328.88°)
OKLaboklab(57.02% 0.198 -0.1174)
OKLCHoklch(57.02% 0.23 329.3)
XYZxyz(29.9044, 15.7138, 46.2486)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BB7 #2BBB2F
analogous
#772BBB #BB2BB7 #BB2B6F
triadic
#BB2BB7 #B7BB2B #2BB7BB
tetradic
#BB2BB7 #BB772B #2BBB2F #2B6FBB
square
#BB2BB7 #BB772B #2BBB2F #2B6FBB
split-complementary
#BB2BB7 #6FBB2B #2BBB77
monochromatic
#571456 #892086 #BB2BB7 #D64DD2 #E27FDF

Accessibility & contrast

On white

5.07
#BB2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BB2BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2BB7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BB7#FFFFFF#000000##FFFFFF
##BB2BB71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D62BB
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#C24170
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2bb7;
/* rgb */ color: rgb(187, 43, 183);
/* oklch */ color: oklch(57.0% 0.230 329.3);
Tailwind
colors: {
  custom: {
    50: '#d475cd',
    500: '#bb2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2bb7;
$custom-light: #d475cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2bb7",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 301.667,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.23014,
    "h": 329.3
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#BB2BB7
secondary
#78CA7A
accent
#E64742
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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