#BB22AF#BB22AF

#BB22AF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.232 H 331.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BB22AF
RGBrgb(187, 34, 175)
HSLhsl(305, 69%, 43%)
HSVhsv(305, 82%, 73%)
CMYKcmyk(0%, 81.8%, 6.4%, 26.7%)
CIE-LABlab(45.37, 71.33, -39.65)
CIE-LCHlch(45.37, 81.61, 330.93°)
OKLaboklab(56% 0.2046 -0.1093)
OKLCHoklch(56% 0.232 331.9)
XYZxyz(28.8035, 14.8065, 41.8901)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22AF #22BB2E
analogous
#7A22BB #BB22AF #BB2262
triadic
#BB22AF #AFBB22 #22AFBB
tetradic
#BB22AF #BB7A22 #22BB2E #2262BB
square
#BB22AF #BB7A22 #22BB2E #2262BB
split-complementary
#BB22AF #62BB22 #22BB7A
monochromatic
#530F4E #87197F #BB22AF #DC3ED0 #E572DC

Accessibility & contrast

On white

5.30
#BB22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BB22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22AF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22AF#FFFFFF#000000##FFFFFF
##BB22AF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb22af;
/* rgb */ color: rgb(187, 34, 175);
/* oklch */ color: oklch(56.0% 0.232 331.9);
Tailwind
colors: {
  custom: {
    50: '#d472c7',
    500: '#bb22af',
    950: '#000000',
  },
}
SCSS
$custom: #bb22af;
$custom-light: #d472c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22af",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 304.706,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.23199,
    "h": 331.9
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#BB22AF
secondary
#6DCC74
accent
#EC4A3C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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