#BB22BA#BB22BA

#BB22BA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.240 H 328.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB22BA
RGBrgb(187, 34, 186)
HSLhsl(300, 69%, 43%)
HSVhsv(300, 82%, 73%)
CMYKcmyk(0%, 81.8%, 0.5%, 26.7%)
CIE-LABlab(45.98, 72.99, -45.15)
CIE-LCHlch(45.98, 85.83, 328.26°)
OKLaboklab(56.64% 0.2043 -0.1253)
OKLCHoklch(56.64% 0.24 328.5)
XYZxyz(29.9282, 15.2563, 47.8133)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22BA #22BB23
analogous
#6F22BB #BB22BA #BB226D
triadic
#BB22BA #BABB22 #22BABB
tetradic
#BB22BA #BB6F22 #22BB23 #226DBB
square
#BB22BA #BB6F22 #22BB23 #226DBB
split-complementary
#BB22BA #6DBB22 #22BB6F
monochromatic
#530F53 #871986 #BB22BA #DC3EDB #E572E5

Accessibility & contrast

On white

5.18
#BB22BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BB22BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22BA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22BA#FFFFFF#000000##FFFFFF
##BB22BA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#5274B6
Tritanopia (blue-blind)
#C13E70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb22ba;
/* rgb */ color: rgb(187, 34, 186);
/* oklch */ color: oklch(56.6% 0.240 328.5);
Tailwind
colors: {
  custom: {
    50: '#d472cf',
    500: '#bb22ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb22ba;
$custom-light: #d472cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22ba",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 300.392,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.23967,
    "h": 328.5
  },
  "luminance": 0.15254
}

Semantic roles & 50–950 ramp

primary
#BB22BA
secondary
#6DCC6D
accent
#EC3D3C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BB22BA

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

Preview Lab → · Contrast checker → · Palette generator →

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