#B22CAB#B22CAB

#B22CAB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.216 H 330.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B22CAB
RGBrgb(178, 44, 171)
HSLhsl(303, 60%, 44%)
HSVhsv(303, 75%, 70%)
CMYKcmyk(0%, 75.3%, 3.9%, 30.2%)
CIE-LABlab(44.53, 66.19, -38.71)
CIE-LCHlch(44.53, 76.68, 329.68°)
OKLaboklab(55.04% 0.1879 -0.1069)
OKLCHoklch(55.04% 0.216 330.4)
XYZxyz(26.6114, 14.2087, 39.8612)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CAB #2CB233
analogous
#762CB2 #B22CAB #B22C68
triadic
#B22CAB #ABB22C #2CABB2
tetradic
#B22CAB #B2762C #2CB233 #2C68B2
square
#B22CAB #B2762C #2CB233 #2C68B2
split-complementary
#B22CAB #68B22C #2CB276
monochromatic
#50144D #81207C #B22CAB #D249CB #DE7AD9

Accessibility & contrast

On white

5.47
#B22CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B22CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CAB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CAB#FFFFFF#000000##FFFFFF
##B22CAB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#B93E6A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22cab;
/* rgb */ color: rgb(178, 44, 171);
/* oklch */ color: oklch(55.0% 0.216 330.4);
Tailwind
colors: {
  custom: {
    50: '#cd74c4',
    500: '#b22cab',
    950: '#000000',
  },
}
SCSS
$custom: #b22cab;
$custom-light: #cd74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22cab",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 303.134,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.21613,
    "h": 330.4
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#B22CAB
secondary
#73C678
accent
#E44D44
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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