#BB22D3#BB22D3

#BB22D3 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.2% C 0.258 H 321.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB22D3
RGBrgb(187, 34, 211)
HSLhsl(292, 72%, 48%)
HSVhsv(292, 84%, 83%)
CMYKcmyk(11.4%, 83.9%, 0%, 17.3%)
CIE-LABlab(47.51, 77.03, -57.20)
CIE-LCHlch(47.51, 95.94, 323.40°)
OKLaboklab(58.2% 0.2018 -0.1605)
OKLCHoklch(58.2% 0.258 321.5)
XYZxyz(32.8221, 16.4139, 63.0548)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22D3 #3AD322
analogous
#6222D3 #BB22D3 #D32293
triadic
#BB22D3 #D3BB22 #22D3BB
tetradic
#BB22D3 #D36222 #3AD322 #2293D3
square
#BB22D3 #D36222 #3AD322 #2293D3
split-complementary
#BB22D3 #93D322 #22D362
monochromatic
#5E116A #8C1A9E #BB22D3 #CF4FE3 #DD84EB

Accessibility & contrast

On white

4.90
#BB22D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BB22D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22D3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22D3#FFFFFF#000000##FFFFFF
##BB22D31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#BD4C7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb22d3;
/* rgb */ color: rgb(187, 34, 211);
/* oklch */ color: oklch(58.2% 0.258 321.5);
Tailwind
colors: {
  custom: {
    50: '#d474e1',
    500: '#bb22d3',
    950: '#000000',
  },
}
SCSS
$custom: #bb22d3;
$custom-light: #d474e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22d3",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 291.864,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.25784,
    "h": 321.5
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#BB22D3
secondary
#88D47D
accent
#EF3952
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150915
muted
#837B83

Preview Lab

Preview with #BB22D3

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

Preview Lab → · Contrast checker → · Palette generator →

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