#BB22B9#BB22B9

#BB22B9 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.239 H 328.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB22B9
RGBrgb(187, 34, 185)
HSLhsl(301, 69%, 43%)
HSVhsv(301, 82%, 73%)
CMYKcmyk(0%, 81.8%, 1.1%, 26.7%)
CIE-LABlab(45.93, 72.84, -44.65)
CIE-LCHlch(45.93, 85.44, 328.49°)
OKLaboklab(56.58% 0.2044 -0.1238)
OKLCHoklch(56.58% 0.239 328.8)
XYZxyz(29.8222, 15.2140, 47.2554)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22B9 #22BB24
analogous
#7022BB #BB22B9 #BB226C
triadic
#BB22B9 #B9BB22 #22B9BB
tetradic
#BB22B9 #BB7022 #22BB24 #226CBB
square
#BB22B9 #BB7022 #22BB24 #226CBB
split-complementary
#BB22B9 #6CBB22 #22BB70
monochromatic
#530F53 #871986 #BB22B9 #DC3EDA #E572E4

Accessibility & contrast

On white

5.19
#BB22B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BB22B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22B9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22B9#FFFFFF#000000##FFFFFF
##BB22B91.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#5373B5
Tritanopia (blue-blind)
#C13E70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb22b9;
/* rgb */ color: rgb(187, 34, 185);
/* oklch */ color: oklch(56.6% 0.239 328.8);
Tailwind
colors: {
  custom: {
    50: '#d472ce',
    500: '#bb22b9',
    950: '#000000',
  },
}
SCSS
$custom: #bb22b9;
$custom-light: #d472ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22b9",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 185
  },
  "hsl": {
    "h": 300.784,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56577,
    "c": 0.23896,
    "h": 328.8
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#BB22B9
secondary
#6DCC6E
accent
#EC3E3C
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BB22B9

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

Preview Lab → · Contrast checker → · Palette generator →

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