#BB22B0#BB22B0

#BB22B0 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.1% C 0.233 H 331.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BB22B0
RGBrgb(187, 34, 176)
HSLhsl(304, 69%, 43%)
HSVhsv(304, 82%, 73%)
CMYKcmyk(0%, 81.8%, 5.9%, 26.7%)
CIE-LABlab(45.42, 71.48, -40.16)
CIE-LCHlch(45.42, 81.99, 330.67°)
OKLaboklab(56.06% 0.2046 -0.1108)
OKLCHoklch(56.06% 0.233 331.6)
XYZxyz(28.9021, 14.8459, 42.4092)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22B0 #22BB2D
analogous
#7922BB #BB22B0 #BB2263
triadic
#BB22B0 #B0BB22 #22B0BB
tetradic
#BB22B0 #BB7922 #22BB2D #2263BB
square
#BB22B0 #BB7922 #22BB2D #2263BB
split-complementary
#BB22B0 #63BB22 #22BB79
monochromatic
#530F4F #87197F #BB22B0 #DC3ED1 #E572DD

Accessibility & contrast

On white

5.29
#BB22B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BB22B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22B0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22B0#FFFFFF#000000##FFFFFF
##BB22B01.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB4
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#C3386A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb22b0;
/* rgb */ color: rgb(187, 34, 176);
/* oklch */ color: oklch(56.1% 0.233 331.6);
Tailwind
colors: {
  custom: {
    50: '#d472c8',
    500: '#bb22b0',
    950: '#000000',
  },
}
SCSS
$custom: #bb22b0;
$custom-light: #d472c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22b0",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 304.314,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.23267,
    "h": 331.6
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#BB22B0
secondary
#6DCC73
accent
#EC483C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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