#B22CA9#B22CA9

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

Color values

HEX#B22CA9
RGBrgb(178, 44, 169)
HSLhsl(304, 60%, 44%)
HSVhsv(304, 75%, 70%)
CMYKcmyk(0%, 75.3%, 5.1%, 30.2%)
CIE-LABlab(44.42, 65.88, -37.69)
CIE-LCHlch(44.42, 75.90, 330.22°)
OKLaboklab(54.93% 0.1878 -0.1039)
OKLCHoklch(54.93% 0.215 331)
XYZxyz(26.4222, 14.1330, 38.8648)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CA9 #2CB235
analogous
#782CB2 #B22CA9 #B22C66
triadic
#B22CA9 #A9B22C #2CA9B2
tetradic
#B22CA9 #B2782C #2CB235 #2C66B2
square
#B22CA9 #B2782C #2CB235 #2C66B2
split-complementary
#B22CA9 #66B22C #2CB278
monochromatic
#50144C #81207A #B22CA9 #D249C9 #DE7AD7

Accessibility & contrast

On white

5.49
#B22CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B22CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CA9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CA9#FFFFFF#000000##FFFFFF
##B22CA91.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5DAC
Deuteranopia (green-blind)
#576FA6
Tritanopia (blue-blind)
#B93D69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22ca9;
/* rgb */ color: rgb(178, 44, 169);
/* oklch */ color: oklch(54.9% 0.215 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd74c3',
    500: '#b22ca9',
    950: '#000000',
  },
}
SCSS
$custom: #b22ca9;
$custom-light: #cd74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ca9",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 304.03,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.21466,
    "h": 331
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#B22CA9
secondary
#73C679
accent
#E44F44
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B22CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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