#BB33A6#BB33A6

#BB33A6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.210 H 335.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BB33A6
RGBrgb(187, 51, 166)
HSLhsl(309, 57%, 47%)
HSVhsv(309, 73%, 73%)
CMYKcmyk(0%, 72.7%, 11.2%, 26.7%)
CIE-LABlab(46.56, 65.23, -32.44)
CIE-LCHlch(46.56, 72.85, 333.56°)
OKLaboklab(56.71% 0.1903 -0.0886)
OKLCHoklch(56.71% 0.21 335)
XYZxyz(28.5606, 15.6881, 37.5929)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB33A6 #33BB48
analogous
#8C33BB #BB33A6 #BB3362
triadic
#BB33A6 #A6BB33 #33A6BB
tetradic
#BB33A6 #BB8C33 #33BB48 #3362BB
square
#BB33A6 #BB8C33 #33BB48 #3362BB
split-complementary
#BB33A6 #62BB33 #33BB8C
monochromatic
#5B1951 #8B267B #BB33A6 #D259BF #DF89D2

Accessibility & contrast

On white

5.08
#BB33A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BB33A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB33A6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB33A6#FFFFFF#000000##FFFFFF
##BB33A61.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#6376A3
Tritanopia (blue-blind)
#C43E69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb33a6;
/* rgb */ color: rgb(187, 51, 166);
/* oklch */ color: oklch(56.7% 0.210 335.0);
Tailwind
colors: {
  custom: {
    50: '#d378c1',
    500: '#bb33a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb33a6;
$custom-light: #d378c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb33a6",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 309.265,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56707,
    "c": 0.2099,
    "h": 335
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#BB33A6
secondary
#81C98C
accent
#E05F47
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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