#B22AAF#B22AAF

#B22AAF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.221 H 329.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B22AAF
RGBrgb(178, 42, 175)
HSLhsl(301, 62%, 43%)
HSVhsv(301, 76%, 70%)
CMYKcmyk(0%, 76.4%, 1.7%, 30.2%)
CIE-LABlab(44.54, 67.42, -41.06)
CIE-LCHlch(44.54, 78.93, 328.66°)
OKLaboklab(55.12% 0.1896 -0.1137)
OKLCHoklch(55.12% 0.221 329.1)
XYZxyz(26.9257, 14.2181, 41.8754)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22AAF #2AB22D
analogous
#712AB2 #B22AAF #B22A6B
triadic
#B22AAF #AFB22A #2AAFB2
tetradic
#B22AAF #B2712A #2AB22D #2A6BB2
square
#B22AAF #B2712A #2AB22D #2A6BB2
split-complementary
#B22AAF #6BB22A #2AB271
monochromatic
#4F134E #801E7E #B22AAF #D346D0 #DF77DD

Accessibility & contrast

On white

5.46
#B22AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22AAF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22AAF#FFFFFF#000000##FFFFFF
##B22AAF1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5EB3
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#B83F6B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22aaf;
/* rgb */ color: rgb(178, 42, 175);
/* oklch */ color: oklch(55.1% 0.221 329.1);
Tailwind
colors: {
  custom: {
    50: '#cd73c7',
    500: '#b22aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b22aaf;
$custom-light: #cd73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22aaf",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 301.324,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.22103,
    "h": 329.1
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#B22AAF
secondary
#71C773
accent
#E54643
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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