#BB33AF#BB33AF

#BB33AF is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.216 H 331.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BB33AF
RGBrgb(187, 51, 175)
HSLhsl(305, 57%, 47%)
HSVhsv(305, 73%, 73%)
CMYKcmyk(0%, 72.7%, 6.4%, 26.7%)
CIE-LABlab(47.01, 66.59, -37.05)
CIE-LCHlch(47.01, 76.21, 330.91°)
OKLaboklab(57.18% 0.1909 -0.1019)
OKLCHoklch(57.18% 0.216 331.9)
XYZxyz(29.4153, 16.0300, 42.0940)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB33AF #33BB3F
analogous
#8333BB #BB33AF #BB336B
triadic
#BB33AF #AFBB33 #33AFBB
tetradic
#BB33AF #BB8333 #33BB3F #336BBB
square
#BB33AF #BB8333 #33BB3F #336BBB
split-complementary
#BB33AF #6BBB33 #33BB83
monochromatic
#5B1955 #8B2682 #BB33AF #D259C7 #DF89D7

Accessibility & contrast

On white

4.99
#BB33AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BB33AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB33AF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB33AF#FFFFFF#000000##FFFFFF
##BB33AF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#5F76AC
Tritanopia (blue-blind)
#C3426E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb33af;
/* rgb */ color: rgb(187, 51, 175);
/* oklch */ color: oklch(57.2% 0.216 331.9);
Tailwind
colors: {
  custom: {
    50: '#d378c7',
    500: '#bb33af',
    950: '#000000',
  },
}
SCSS
$custom: #bb33af;
$custom-light: #d378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb33af",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 305.294,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.21636,
    "h": 331.9
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

primary
#BB33AF
secondary
#81C987
accent
#E05547
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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