#B22AB3#B22AB3

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

Color values

HEX#B22AB3
RGBrgb(178, 42, 179)
HSLhsl(300, 62%, 43%)
HSVhsv(300, 77%, 70%)
CMYKcmyk(0.6%, 76.5%, 0%, 29.8%)
CIE-LABlab(44.77, 68.06, -43.06)
CIE-LCHlch(44.77, 80.54, 327.68°)
OKLaboklab(55.36% 0.1895 -0.1195)
OKLCHoklch(55.36% 0.224 327.8)
XYZxyz(27.3244, 14.3776, 43.9751)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22AB3 #2BB32A
analogous
#6D2AB3 #B22AB3 #B32A6F
triadic
#B22AB3 #B3B22A #2AB3B2
tetradic
#B22AB3 #B36D2A #2BB32A #2A6FB3
square
#B22AB3 #B36D2A #2BB32A #2A6FB3
split-complementary
#B22AB3 #6FB32A #2AB36D
monochromatic
#4F1350 #811E81 #B22AB3 #D346D4 #DF78DF

Accessibility & contrast

On white

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

On black

3.88
#B22AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B22AB3#FFFFFF#000000##FFFFFF
##B22AB31.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#B8416E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22ab3;
/* rgb */ color: rgb(178, 42, 179);
/* oklch */ color: oklch(55.4% 0.224 327.8);
Tailwind
colors: {
  custom: {
    50: '#cd74ca',
    500: '#b22ab3',
    950: '#000000',
  },
}
SCSS
$custom: #b22ab3;
$custom-light: #cd74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ab3",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 299.562,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.224,
    "h": 327.8
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#B22AB3
secondary
#72C772
accent
#E54344
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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