#BB33BB#BB33BB

#BB33BB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.225 H 328.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BB33BB
RGBrgb(187, 51, 187)
HSLhsl(300, 57%, 47%)
HSVhsv(300, 73%, 73%)
CMYKcmyk(0%, 72.7%, 0%, 26.7%)
CIE-LABlab(47.65, 68.50, -43.08)
CIE-LCHlch(47.65, 80.92, 327.83°)
OKLaboklab(57.84% 0.1911 -0.1194)
OKLCHoklch(57.84% 0.225 328)
XYZxyz(30.6466, 16.5225, 48.5791)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB33BB #33BB33
analogous
#7733BB #BB33BB #BB3377
triadic
#BB33BB #BBBB33 #33BBBB
tetradic
#BB33BB #BB7733 #33BB33 #3377BB
square
#BB33BB #BB7733 #33BB33 #3377BB
split-complementary
#BB33BB #77BB33 #33BB77
monochromatic
#5B195B #8B268B #BB33BB #D259D2 #DF89DF

Accessibility & contrast

On white

4.88
#BB33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BB33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB33BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB33BB#FFFFFF#000000##FFFFFF
##BB33BB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#C14874
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb33bb;
/* rgb */ color: rgb(187, 51, 187);
/* oklch */ color: oklch(57.8% 0.225 328.0);
Tailwind
colors: {
  custom: {
    50: '#d379d0',
    500: '#bb33bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb33bb;
$custom-light: #d379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb33bb",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.22532,
    "h": 328
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#BB33BB
secondary
#81C981
accent
#E04747
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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