#BB33B1#BB33B1

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

Color values

HEX#BB33B1
RGBrgb(187, 51, 177)
HSLhsl(304, 57%, 47%)
HSVhsv(304, 73%, 73%)
CMYKcmyk(0%, 72.7%, 5.3%, 26.7%)
CIE-LABlab(47.12, 66.91, -38.07)
CIE-LCHlch(47.12, 76.98, 330.36°)
OKLaboklab(57.29% 0.191 -0.1048)
OKLCHoklch(57.29% 0.218 331.2)
XYZxyz(29.6131, 16.1091, 43.1361)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB33B1 #33BB3D
analogous
#8133BB #BB33B1 #BB336D
triadic
#BB33B1 #B1BB33 #33B1BB
tetradic
#BB33B1 #BB8133 #33BB3D #336DBB
square
#BB33B1 #BB8133 #33BB3D #336DBB
split-complementary
#BB33B1 #6DBB33 #33BB81
monochromatic
#5B1956 #8B2683 #BB33B1 #D259C9 #DF89D9

Accessibility & contrast

On white

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

On black

4.22
#BB33B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB33B1#FFFFFF#000000##FFFFFF
##BB33B11.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B4
Deuteranopia (green-blind)
#5E76AE
Tritanopia (blue-blind)
#C3436F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb33b1;
/* rgb */ color: rgb(187, 51, 177);
/* oklch */ color: oklch(57.3% 0.218 331.2);
Tailwind
colors: {
  custom: {
    50: '#d378c9',
    500: '#bb33b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb33b1;
$custom-light: #d378c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb33b1",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 304.412,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57286,
    "c": 0.21783,
    "h": 331.2
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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