#BB22AC#BB22AC

#BB22AC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.230 H 332.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BB22AC
RGBrgb(187, 34, 172)
HSLhsl(306, 69%, 43%)
HSVhsv(306, 82%, 73%)
CMYKcmyk(0%, 81.8%, 8%, 26.7%)
CIE-LABlab(45.21, 70.89, -38.13)
CIE-LCHlch(45.21, 80.49, 331.72°)
OKLaboklab(55.83% 0.2046 -0.1049)
OKLCHoklch(55.83% 0.23 332.9)
XYZxyz(28.5121, 14.6899, 40.3555)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22AC #22BB31
analogous
#7D22BB #BB22AC #BB2260
triadic
#BB22AC #ACBB22 #22ACBB
tetradic
#BB22AC #BB7D22 #22BB31 #2260BB
square
#BB22AC #BB7D22 #22BB31 #2260BB
split-complementary
#BB22AC #60BB22 #22BB7D
monochromatic
#530F4D #87197C #BB22AC #DC3ECC #E572DA

Accessibility & contrast

On white

5.33
#BB22AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BB22AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22AC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22AC#FFFFFF#000000##FFFFFF
##BB22AC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#5A72A9
Tritanopia (blue-blind)
#C43668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb22ac;
/* rgb */ color: rgb(187, 34, 172);
/* oklch */ color: oklch(55.8% 0.230 332.9);
Tailwind
colors: {
  custom: {
    50: '#d472c5',
    500: '#bb22ac',
    950: '#000000',
  },
}
SCSS
$custom: #bb22ac;
$custom-light: #d472c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22ac",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 305.882,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.22993,
    "h": 332.9
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#BB22AC
secondary
#6DCC76
accent
#EC4D3C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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