#BB33B2#BB33B2

#BB33B2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.219 H 330.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BB33B2
RGBrgb(187, 51, 178)
HSLhsl(304, 57%, 47%)
HSVhsv(304, 73%, 73%)
CMYKcmyk(0%, 72.7%, 4.8%, 26.7%)
CIE-LABlab(47.17, 67.06, -38.57)
CIE-LCHlch(47.17, 77.36, 330.09°)
OKLaboklab(57.34% 0.191 -0.1063)
OKLCHoklch(57.34% 0.219 330.9)
XYZxyz(29.7132, 16.1492, 43.6630)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB33B2 #33BB3C
analogous
#8033BB #BB33B2 #BB336E
triadic
#BB33B2 #B2BB33 #33B2BB
tetradic
#BB33B2 #BB8033 #33BB3C #336EBB
square
#BB33B2 #BB8033 #33BB3C #336EBB
split-complementary
#BB33B2 #6EBB33 #33BB80
monochromatic
#5B1956 #8B2684 #BB33B2 #D259CA #DF89D9

Accessibility & contrast

On white

4.97
#BB33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BB33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB33B2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB33B2#FFFFFF#000000##FFFFFF
##BB33B21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#5D76AF
Tritanopia (blue-blind)
#C24470
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb33b2;
/* rgb */ color: rgb(187, 51, 178);
/* oklch */ color: oklch(57.3% 0.219 330.9);
Tailwind
colors: {
  custom: {
    50: '#d378c9',
    500: '#bb33b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb33b2;
$custom-light: #d378c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb33b2",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 303.971,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.21857,
    "h": 330.9
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#BB33B2
secondary
#81C986
accent
#E05247
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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