#BB33AA#BB33AA

#BB33AA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.213 H 333.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BB33AA
RGBrgb(187, 51, 170)
HSLhsl(308, 57%, 47%)
HSVhsv(308, 73%, 73%)
CMYKcmyk(0%, 72.7%, 9.1%, 26.7%)
CIE-LABlab(46.76, 65.83, -34.50)
CIE-LCHlch(46.76, 74.32, 332.34°)
OKLaboklab(56.91% 0.1906 -0.0945)
OKLCHoklch(56.91% 0.213 333.6)
XYZxyz(28.9333, 15.8372, 39.5555)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB33AA #33BB44
analogous
#8833BB #BB33AA #BB3366
triadic
#BB33AA #AABB33 #33AABB
tetradic
#BB33AA #BB8833 #33BB44 #3366BB
square
#BB33AA #BB8833 #33BB44 #3366BB
split-complementary
#BB33AA #66BB33 #33BB88
monochromatic
#5B1953 #8B267E #BB33AA #D259C3 #DF89D4

Accessibility & contrast

On white

5.04
#BB33AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB33AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB33AA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB33AA#FFFFFF#000000##FFFFFF
##BB33AA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#C4406B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb33aa;
/* rgb */ color: rgb(187, 51, 170);
/* oklch */ color: oklch(56.9% 0.213 333.6);
Tailwind
colors: {
  custom: {
    50: '#d378c3',
    500: '#bb33aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb33aa;
$custom-light: #d378c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb33aa",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 307.5,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.21275,
    "h": 333.6
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#BB33AA
secondary
#81C98A
accent
#E05B47
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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