#BB22AE#BB22AE

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

Color values

HEX#BB22AE
RGBrgb(187, 34, 174)
HSLhsl(305, 69%, 43%)
HSVhsv(305, 82%, 73%)
CMYKcmyk(0%, 81.8%, 7%, 26.7%)
CIE-LABlab(45.31, 71.18, -39.15)
CIE-LCHlch(45.31, 81.24, 331.19°)
OKLaboklab(55.95% 0.2046 -0.1078)
OKLCHoklch(55.95% 0.231 332.2)
XYZxyz(28.7056, 14.7673, 41.3747)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22AE #22BB2F
analogous
#7B22BB #BB22AE #BB2261
triadic
#BB22AE #AEBB22 #22AEBB
tetradic
#BB22AE #BB7B22 #22BB2F #2261BB
square
#BB22AE #BB7B22 #22BB2F #2261BB
split-complementary
#BB22AE #61BB22 #22BB7B
monochromatic
#530F4E #87197E #BB22AE #DC3ECF #E572DC

Accessibility & contrast

On white

5.31
#BB22AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB22AE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22AE#FFFFFF#000000##FFFFFF
##BB22AE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#C33769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb22ae;
/* rgb */ color: rgb(187, 34, 174);
/* oklch */ color: oklch(55.9% 0.231 332.2);
Tailwind
colors: {
  custom: {
    50: '#d472c6',
    500: '#bb22ae',
    950: '#000000',
  },
}
SCSS
$custom: #bb22ae;
$custom-light: #d472c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22ae",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 305.098,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.2313,
    "h": 332.2
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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