#B22BB6#B22BB6

#B22BB6 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.225 H 326.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B22BB6
RGBrgb(178, 43, 182)
HSLhsl(298, 62%, 44%)
HSVhsv(298, 76%, 71%)
CMYKcmyk(2.2%, 76.4%, 0%, 28.6%)
CIE-LABlab(45.04, 68.25, -44.39)
CIE-LCHlch(45.04, 81.42, 326.96°)
OKLaboklab(55.61% 0.1886 -0.1234)
OKLCHoklch(55.61% 0.225 326.8)
XYZxyz(27.6670, 14.5721, 45.6024)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22BB6 #2FB62B
analogous
#6C2BB6 #B22BB6 #B62B75
triadic
#B22BB6 #B6B22B #2BB6B2
tetradic
#B22BB6 #B66C2B #2FB62B #2B75B6
square
#B22BB6 #B66C2B #2FB62B #2B75B6
split-complementary
#B22BB6 #75B62B #2BB66C
monochromatic
#511453 #821F84 #B22BB6 #D04AD4 #DD7BE0

Accessibility & contrast

On white

5.37
#B22BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B22BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22BB6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22BB6#FFFFFF#000000##FFFFFF
##B22BB61.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#4F70B3
Tritanopia (blue-blind)
#B74370
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b22bb6;
/* rgb */ color: rgb(178, 43, 182);
/* oklch */ color: oklch(55.6% 0.225 326.8);
Tailwind
colors: {
  custom: {
    50: '#cd74cc',
    500: '#b22bb6',
    950: '#000000',
  },
}
SCSS
$custom: #b22bb6;
$custom-light: #cd74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22bb6",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 298.273,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55607,
    "c": 0.22533,
    "h": 326.8
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#B22BB6
secondary
#77C875
accent
#E54348
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B22BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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