#BB22AD#BB22AD

#BB22AD is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.231 H 332.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BB22AD
RGBrgb(187, 34, 173)
HSLhsl(305, 69%, 43%)
HSVhsv(305, 82%, 73%)
CMYKcmyk(0%, 81.8%, 7.5%, 26.7%)
CIE-LABlab(45.26, 71.03, -38.64)
CIE-LCHlch(45.26, 80.86, 331.45°)
OKLaboklab(55.89% 0.2046 -0.1064)
OKLCHoklch(55.89% 0.231 332.5)
XYZxyz(28.6085, 14.7285, 40.8632)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22AD #22BB30
analogous
#7C22BB #BB22AD #BB2260
triadic
#BB22AD #ADBB22 #22ADBB
tetradic
#BB22AD #BB7C22 #22BB30 #2260BB
square
#BB22AD #BB7C22 #22BB30 #2260BB
split-complementary
#BB22AD #60BB22 #22BB7C
monochromatic
#530F4D #87197D #BB22AD #DC3ECE #E572DB

Accessibility & contrast

On white

5.32
#BB22AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BB22AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22AD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22AD#FFFFFF#000000##FFFFFF
##BB22AD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#C33769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb22ad;
/* rgb */ color: rgb(187, 34, 173);
/* oklch */ color: oklch(55.9% 0.231 332.5);
Tailwind
colors: {
  custom: {
    50: '#d472c6',
    500: '#bb22ad',
    950: '#000000',
  },
}
SCSS
$custom: #bb22ad;
$custom-light: #d472c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22ad",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 305.49,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.23062,
    "h": 332.5
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#BB22AD
secondary
#6DCC75
accent
#EC4C3C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB22AD

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

Preview Lab → · Contrast checker → · Palette generator →

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