#BB22A9#BB22A9

#BB22A9 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.228 H 333.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BB22A9
RGBrgb(187, 34, 169)
HSLhsl(307, 69%, 43%)
HSVhsv(307, 82%, 73%)
CMYKcmyk(0%, 81.8%, 9.6%, 26.7%)
CIE-LABlab(45.05, 70.45, -36.60)
CIE-LCHlch(45.05, 79.39, 332.55°)
OKLaboklab(55.67% 0.2046 -0.1005)
OKLCHoklch(55.67% 0.228 333.8)
XYZxyz(28.2273, 14.5760, 38.8552)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22A9 #22BB34
analogous
#8022BB #BB22A9 #BB225C
triadic
#BB22A9 #A9BB22 #22A9BB
tetradic
#BB22A9 #BB8022 #22BB34 #225CBB
square
#BB22A9 #BB8022 #22BB34 #225CBB
split-complementary
#BB22A9 #5CBB22 #22BB80
monochromatic
#530F4B #87197A #BB22A9 #DC3EC9 #E572D8

Accessibility & contrast

On white

5.36
#BB22A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BB22A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22A9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22A9#FFFFFF#000000##FFFFFF
##BB22A91.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAC
Deuteranopia (green-blind)
#5C72A6
Tritanopia (blue-blind)
#C43466
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb22a9;
/* rgb */ color: rgb(187, 34, 169);
/* oklch */ color: oklch(55.7% 0.228 333.8);
Tailwind
colors: {
  custom: {
    50: '#d472c3',
    500: '#bb22a9',
    950: '#000000',
  },
}
SCSS
$custom: #bb22a9;
$custom-light: #d472c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22a9",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 307.059,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.22791,
    "h": 333.8
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#BB22A9
secondary
#6DCC78
accent
#EC503C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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