#BB22BD#BB22BD

#BB22BD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.242 H 327.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BB22BD
RGBrgb(187, 34, 189)
HSLhsl(299, 70%, 44%)
HSVhsv(299, 82%, 74%)
CMYKcmyk(1.1%, 82%, 0%, 25.9%)
CIE-LABlab(46.16, 73.46, -46.63)
CIE-LCHlch(46.16, 87.01, 327.59°)
OKLaboklab(56.82% 0.2042 -0.1296)
OKLCHoklch(56.82% 0.242 327.6)
XYZxyz(30.2504, 15.3852, 49.5106)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22BD #24BD22
analogous
#6D22BD #BB22BD #BD2271
triadic
#BB22BD #BDBB22 #22BDBB
tetradic
#BB22BD #BD6D22 #24BD22 #2271BD
square
#BB22BD #BD6D22 #24BD22 #2271BD
split-complementary
#BB22BD #71BD22 #22BD6D
monochromatic
#540F55 #881989 #BB22BD #DB40DD #E473E6

Accessibility & contrast

On white

5.15
#BB22BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BB22BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22BD#FFFFFF#000000##FFFFFF
##BB22BD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#C14072
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb22bd;
/* rgb */ color: rgb(187, 34, 189);
/* oklch */ color: oklch(56.8% 0.242 327.6);
Tailwind
colors: {
  custom: {
    50: '#d473d1',
    500: '#bb22bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb22bd;
$custom-light: #d473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22bd",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 299.226,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.2418,
    "h": 327.6
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#BB22BD
secondary
#6FCD6E
accent
#EC3B3E
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BB22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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