#BB22A5#BB22A5

#BB22A5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.5% C 0.225 H 335.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BB22A5
RGBrgb(187, 34, 165)
HSLhsl(309, 69%, 43%)
HSVhsv(309, 82%, 73%)
CMYKcmyk(0%, 81.8%, 11.8%, 26.7%)
CIE-LABlab(44.84, 69.88, -34.55)
CIE-LCHlch(44.84, 77.96, 333.69°)
OKLaboklab(55.46% 0.2044 -0.0946)
OKLCHoklch(55.46% 0.225 335.2)
XYZxyz(27.8575, 14.4281, 36.9078)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22A5 #22BB38
analogous
#8422BB #BB22A5 #BB2259
triadic
#BB22A5 #A5BB22 #22A5BB
tetradic
#BB22A5 #BB8422 #22BB38 #2259BB
square
#BB22A5 #BB8422 #22BB38 #2259BB
split-complementary
#BB22A5 #59BB22 #22BB84
monochromatic
#530F4A #871977 #BB22A5 #DC3EC5 #E572D5

Accessibility & contrast

On white

5.41
#BB22A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BB22A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22A5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22A5#FFFFFF#000000##FFFFFF
##BB22A51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#C53264
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb22a5;
/* rgb */ color: rgb(187, 34, 165);
/* oklch */ color: oklch(55.5% 0.225 335.2);
Tailwind
colors: {
  custom: {
    50: '#d472c0',
    500: '#bb22a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb22a5;
$custom-light: #d472c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22a5",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 308.627,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.22523,
    "h": 335.2
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#BB22A5
secondary
#6DCC7A
accent
#EC553C
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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