#BB2BB6#BB2BB6

#BB2BB6 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.08:1 contrast (WCAG AA passes).

Color values

HEX#BB2BB6
RGBrgb(187, 43, 182)
HSLhsl(302, 63%, 45%)
HSVhsv(302, 77%, 73%)
CMYKcmyk(0%, 77%, 2.7%, 26.7%)
CIE-LABlab(46.54, 70.10, -41.92)
CIE-LCHlch(46.54, 81.68, 329.12°)
OKLaboklab(56.96% 0.198 -0.1159)
OKLCHoklch(56.96% 0.229 329.6)
XYZxyz(29.8007, 15.6723, 45.7024)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BB6 #2BBB30
analogous
#782BBB #BB2BB6 #BB2B6E
triadic
#BB2BB6 #B6BB2B #2BB6BB
tetradic
#BB2BB6 #BB782B #2BBB30 #2B6EBB
square
#BB2BB6 #BB782B #2BBB30 #2B6EBB
split-complementary
#BB2BB6 #6EBB2B #2BBB78
monochromatic
#571455 #892086 #BB2BB6 #D64DD1 #E27FDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB2BB6#FFFFFF#000000##FFFFFF
##BB2BB61.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)
#1062BA
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#C24170
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2bb6;
/* rgb */ color: rgb(187, 43, 182);
/* oklch */ color: oklch(57.0% 0.229 329.6);
Tailwind
colors: {
  custom: {
    50: '#d475cc',
    500: '#bb2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #bb2bb6;
$custom-light: #d475cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2bb6",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 302.083,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.22942,
    "h": 329.6
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#BB2BB6
secondary
#78CA7B
accent
#E64842
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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