#B822BB#B822BB

#B822BB is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.2% C 0.239 H 327.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B822BB
RGBrgb(184, 34, 187)
HSLhsl(299, 69%, 43%)
HSVhsv(299, 82%, 73%)
CMYKcmyk(1.6%, 81.8%, 0%, 26.7%)
CIE-LABlab(45.53, 72.58, -46.49)
CIE-LCHlch(45.53, 86.19, 327.36°)
OKLaboklab(56.24% 0.2012 -0.1292)
OKLCHoklch(56.24% 0.239 327.3)
XYZxyz(29.3084, 14.9244, 48.3411)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B822BB #25BB22
analogous
#6C22BB #B822BB #BB2271
triadic
#B822BB #BBB822 #22BBB8
tetradic
#B822BB #BB6C22 #25BB22 #2271BB
square
#B822BB #BB6C22 #25BB22 #2271BB
split-complementary
#B822BB #71BB22 #22BB6C
monochromatic
#520F53 #851987 #B822BB #D93EDC #E372E5

Accessibility & contrast

On white

5.27
#B822BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B822BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B822BB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B822BB#FFFFFF#000000##FFFFFF
##B822BB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#BD4071
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b822bb;
/* rgb */ color: rgb(184, 34, 187);
/* oklch */ color: oklch(56.2% 0.239 327.3);
Tailwind
colors: {
  custom: {
    50: '#d272d0',
    500: '#b822bb',
    950: '#000000',
  },
}
SCSS
$custom: #b822bb;
$custom-light: #d272d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b822bb",
  "rgb": {
    "r": 184,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 298.824,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.23913,
    "h": 327.3
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#B822BB
secondary
#6ECC6D
accent
#EC3C3F
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B822BB

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

Preview Lab → · Contrast checker → · Palette generator →

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