#BB33B8#BB33B8

#BB33B8 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.223 H 329.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB33B8
RGBrgb(187, 51, 184)
HSLhsl(301, 57%, 47%)
HSVhsv(301, 73%, 73%)
CMYKcmyk(0%, 72.7%, 1.6%, 26.7%)
CIE-LABlab(47.49, 68.01, -41.59)
CIE-LCHlch(47.49, 79.72, 328.56°)
OKLaboklab(57.67% 0.1911 -0.115)
OKLCHoklch(57.67% 0.223 329)
XYZxyz(30.3288, 16.3954, 46.9053)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB33B8 #33BB36
analogous
#7A33BB #BB33B8 #BB3374
triadic
#BB33B8 #B8BB33 #33B8BB
tetradic
#BB33B8 #BB7A33 #33BB36 #3374BB
square
#BB33B8 #BB7A33 #33BB36 #3374BB
split-complementary
#BB33B8 #74BB33 #33BB7A
monochromatic
#5B1959 #8B2689 #BB33B8 #D259CF #DF89DD

Accessibility & contrast

On white

4.91
#BB33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BB33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB33B8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB33B8#FFFFFF#000000##FFFFFF
##BB33B81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BC
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#C14773
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb33b8;
/* rgb */ color: rgb(187, 51, 184);
/* oklch */ color: oklch(57.7% 0.223 329.0);
Tailwind
colors: {
  custom: {
    50: '#d378ce',
    500: '#bb33b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb33b8;
$custom-light: #d378ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb33b8",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 301.324,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.22304,
    "h": 329
  },
  "luminance": 0.16393
}

Semantic roles & 50–950 ramp

primary
#BB33B8
secondary
#81C982
accent
#E04B47
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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