#B22AA0#B22AA0

#B22AA0 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.210 H 334.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B22AA0
RGBrgb(178, 42, 160)
HSLhsl(308, 62%, 43%)
HSVhsv(308, 76%, 70%)
CMYKcmyk(0%, 76.4%, 10.1%, 30.2%)
CIE-LABlab(43.74, 65.11, -33.40)
CIE-LCHlch(43.74, 73.18, 332.84°)
OKLaboklab(54.29% 0.1892 -0.0915)
OKLCHoklch(54.29% 0.21 334.2)
XYZxyz(25.5335, 13.6612, 34.5430)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22AA0 #2AB23C
analogous
#802AB2 #B22AA0 #B22A5C
triadic
#B22AA0 #A0B22A #2AA0B2
tetradic
#B22AA0 #B2802A #2AB23C #2A5CB2
square
#B22AA0 #B2802A #2AB23C #2A5CB2
split-complementary
#B22AA0 #5CB22A #2AB280
monochromatic
#4F1347 #801E73 #B22AA0 #D346C1 #DF77D1

Accessibility & contrast

On white

5.63
#B22AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B22AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22AA0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22AA0#FFFFFF#000000##FFFFFF
##B22AA01.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA3
Deuteranopia (green-blind)
#5A6E9D
Tritanopia (blue-blind)
#BB3763
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22aa0;
/* rgb */ color: rgb(178, 42, 160);
/* oklch */ color: oklch(54.3% 0.210 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd73bc',
    500: '#b22aa0',
    950: '#000000',
  },
}
SCSS
$custom: #b22aa0;
$custom-light: #cd73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22aa0",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 307.941,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.2102,
    "h": 334.2
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#B22AA0
secondary
#71C77C
accent
#E55843
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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