#BB22B8#BB22B8

#BB22B8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.238 H 329.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB22B8
RGBrgb(187, 34, 184)
HSLhsl(301, 69%, 43%)
HSVhsv(301, 82%, 73%)
CMYKcmyk(0%, 81.8%, 1.6%, 26.7%)
CIE-LABlab(45.87, 72.68, -44.16)
CIE-LCHlch(45.87, 85.05, 328.72°)
OKLaboklab(56.52% 0.2044 -0.1224)
OKLCHoklch(56.52% 0.238 329.1)
XYZxyz(29.7170, 15.1719, 46.7014)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22B8 #22BB25
analogous
#7122BB #BB22B8 #BB226C
triadic
#BB22B8 #B8BB22 #22B8BB
tetradic
#BB22B8 #BB7122 #22BB25 #226CBB
square
#BB22B8 #BB7122 #22BB25 #226CBB
split-complementary
#BB22B8 #6CBB22 #22BB71
monochromatic
#530F52 #871985 #BB22B8 #DC3ED9 #E572E3

Accessibility & contrast

On white

5.21
#BB22B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BB22B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22B8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22B8#FFFFFF#000000##FFFFFF
##BB22B81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#C23D6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb22b8;
/* rgb */ color: rgb(187, 34, 184);
/* oklch */ color: oklch(56.5% 0.238 329.1);
Tailwind
colors: {
  custom: {
    50: '#d472ce',
    500: '#bb22b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb22b8;
$custom-light: #d472ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22b8",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 184
  },
  "hsl": {
    "h": 301.176,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.23826,
    "h": 329.1
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB22B8

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

Preview Lab → · Contrast checker → · Palette generator →

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