#B22CAF#B22CAF

#B22CAF is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.219 H 329.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B22CAF
RGBrgb(178, 44, 175)
HSLhsl(301, 60%, 44%)
HSVhsv(301, 75%, 70%)
CMYKcmyk(0%, 75.3%, 1.7%, 30.2%)
CIE-LABlab(44.75, 66.82, -40.73)
CIE-LCHlch(44.75, 78.26, 328.64°)
OKLaboklab(55.27% 0.1879 -0.1127)
OKLCHoklch(55.27% 0.219 329)
XYZxyz(26.9984, 14.3635, 41.8996)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CAF #2CB22F
analogous
#722CB2 #B22CAF #B22C6C
triadic
#B22CAF #AFB22C #2CAFB2
tetradic
#B22CAF #B2722C #2CB22F #2C6CB2
square
#B22CAF #B2722C #2CB22F #2C6CB2
split-complementary
#B22CAF #6CB22C #2CB272
monochromatic
#50144F #81207F #B22CAF #D249CF #DE7ADC

Accessibility & contrast

On white

5.42
#B22CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B22CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CAF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CAF#FFFFFF#000000##FFFFFF
##B22CAF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135FB3
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#B8406C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22caf;
/* rgb */ color: rgb(178, 44, 175);
/* oklch */ color: oklch(55.3% 0.219 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd74c7',
    500: '#b22caf',
    950: '#000000',
  },
}
SCSS
$custom: #b22caf;
$custom-light: #cd74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22caf",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 301.343,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.2191,
    "h": 329
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#B22CAF
secondary
#73C675
accent
#E44844
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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