#B22AAB#B22AAB

#B22AAB is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.218 H 330.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B22AAB
RGBrgb(178, 42, 171)
HSLhsl(303, 62%, 43%)
HSVhsv(303, 76%, 70%)
CMYKcmyk(0%, 76.4%, 3.9%, 30.2%)
CIE-LABlab(44.32, 66.79, -39.04)
CIE-LCHlch(44.32, 77.36, 329.69°)
OKLaboklab(54.9% 0.1896 -0.1078)
OKLCHoklch(54.9% 0.218 330.4)
XYZxyz(26.5387, 14.0633, 39.8369)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22AAB #2AB231
analogous
#752AB2 #B22AAB #B22A67
triadic
#B22AAB #ABB22A #2AABB2
tetradic
#B22AAB #B2752A #2AB231 #2A67B2
square
#B22AAB #B2752A #2AB231 #2A67B2
split-complementary
#B22AAB #67B22A #2AB275
monochromatic
#4F134C #801E7B #B22AAB #D346CC #DF77DA

Accessibility & contrast

On white

5.51
#B22AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B22AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22AAB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22AAB#FFFFFF#000000##FFFFFF
##B22AAB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAE
Deuteranopia (green-blind)
#556FA8
Tritanopia (blue-blind)
#B93D69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22aab;
/* rgb */ color: rgb(178, 42, 171);
/* oklch */ color: oklch(54.9% 0.218 330.4);
Tailwind
colors: {
  custom: {
    50: '#cd73c4',
    500: '#b22aab',
    950: '#000000',
  },
}
SCSS
$custom: #b22aab;
$custom-light: #cd73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22aab",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 303.088,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.21809,
    "h": 330.4
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#B22AAB
secondary
#71C775
accent
#E54B43
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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