#BB2BBB#BB2BBB

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

Color values

HEX#BB2BBB
RGBrgb(187, 43, 187)
HSLhsl(300, 63%, 45%)
HSVhsv(300, 77%, 73%)
CMYKcmyk(0%, 77%, 0%, 26.7%)
CIE-LABlab(46.82, 70.89, -44.40)
CIE-LCHlch(46.82, 83.65, 327.94°)
OKLaboklab(57.25% 0.1979 -0.1231)
OKLCHoklch(57.25% 0.233 328.1)
XYZxyz(30.3267, 15.8827, 48.4725)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BBB #2BBB2B
analogous
#732BBB #BB2BBB #BB2B73
triadic
#BB2BBB #BBBB2B #2BBBBB
tetradic
#BB2BBB #BB732B #2BBB2B #2B73BB
square
#BB2BBB #BB732B #2BBB2B #2B73BB
split-complementary
#BB2BBB #73BB2B #2BBB73
monochromatic
#571457 #892089 #BB2BBB #D64DD6 #E27FE2

Accessibility & contrast

On white

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

On black

4.18
#BB2BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB2BBB#FFFFFF#000000##FFFFFF
##BB2BBB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5575B8
Tritanopia (blue-blind)
#C14373
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2bbb;
/* rgb */ color: rgb(187, 43, 187);
/* oklch */ color: oklch(57.2% 0.233 328.1);
Tailwind
colors: {
  custom: {
    50: '#d475d0',
    500: '#bb2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #bb2bbb;
$custom-light: #d475d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2bbb",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.23307,
    "h": 328.1
  },
  "luminance": 0.1588
}

Semantic roles & 50–950 ramp

primary
#BB2BBB
secondary
#78CA78
accent
#E64242
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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