#B22CB6#B22CB6

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

Color values

HEX#B22CB6
RGBrgb(178, 44, 182)
HSLhsl(298, 61%, 44%)
HSVhsv(298, 76%, 71%)
CMYKcmyk(2.2%, 75.8%, 0%, 28.6%)
CIE-LABlab(45.15, 67.96, -44.23)
CIE-LCHlch(45.15, 81.08, 326.94°)
OKLaboklab(55.68% 0.1877 -0.1229)
OKLCHoklch(55.68% 0.224 326.8)
XYZxyz(27.7038, 14.6457, 45.6146)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CB6 #30B62C
analogous
#6D2CB6 #B22CB6 #B62C75
triadic
#B22CB6 #B6B22C #2CB6B2
tetradic
#B22CB6 #B66D2C #30B62C #2C75B6
square
#B22CB6 #B66D2C #30B62C #2C75B6
split-complementary
#B22CB6 #75B62C #2CB66D
monochromatic
#521453 #822085 #B22CB6 #D04CD4 #DD7DE0

Accessibility & contrast

On white

5.35
#B22CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B22CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CB6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CB6#FFFFFF#000000##FFFFFF
##B22CB61.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22cb6;
/* rgb */ color: rgb(178, 44, 182);
/* oklch */ color: oklch(55.7% 0.224 326.8);
Tailwind
colors: {
  custom: {
    50: '#cd74cc',
    500: '#b22cb6',
    950: '#000000',
  },
}
SCSS
$custom: #b22cb6;
$custom-light: #cd74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22cb6",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 298.261,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5568,
    "c": 0.22438,
    "h": 326.8
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#B22CB6
secondary
#78C876
accent
#E44448
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B22CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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