#BB33A8#BB33A8

#BB33A8 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.211 H 334.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB33A8
RGBrgb(187, 51, 168)
HSLhsl(308, 57%, 47%)
HSVhsv(308, 73%, 73%)
CMYKcmyk(0%, 72.7%, 10.2%, 26.7%)
CIE-LABlab(46.66, 65.53, -33.47)
CIE-LCHlch(46.66, 73.58, 332.94°)
OKLaboklab(56.81% 0.1904 -0.0916)
OKLCHoklch(56.81% 0.211 334.3)
XYZxyz(28.7455, 15.7621, 38.5666)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB33A8 #33BB46
analogous
#8A33BB #BB33A8 #BB3364
triadic
#BB33A8 #A8BB33 #33A8BB
tetradic
#BB33A8 #BB8A33 #33BB46 #3364BB
square
#BB33A8 #BB8A33 #33BB46 #3364BB
split-complementary
#BB33A8 #64BB33 #33BB8A
monochromatic
#5B1952 #8B267D #BB33A8 #D259C1 #DF89D3

Accessibility & contrast

On white

5.06
#BB33A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB33A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB33A8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB33A8#FFFFFF#000000##FFFFFF
##BB33A81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#6276A5
Tritanopia (blue-blind)
#C43F6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb33a8;
/* rgb */ color: rgb(187, 51, 168);
/* oklch */ color: oklch(56.8% 0.211 334.3);
Tailwind
colors: {
  custom: {
    50: '#d378c2',
    500: '#bb33a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb33a8;
$custom-light: #d378c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb33a8",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 308.382,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.21131,
    "h": 334.3
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#BB33A8
secondary
#81C98B
accent
#E05D47
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB33A8

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

Preview Lab → · Contrast checker → · Palette generator →

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