#B22CA4#B22CA4

#B22CA4 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.211 H 332.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B22CA4
RGBrgb(178, 44, 164)
HSLhsl(306, 60%, 44%)
HSVhsv(306, 75%, 70%)
CMYKcmyk(0%, 75.3%, 7.9%, 30.2%)
CIE-LABlab(44.16, 65.11, -35.13)
CIE-LCHlch(44.16, 73.98, 331.65°)
OKLaboklab(54.66% 0.1877 -0.0965)
OKLCHoklch(54.66% 0.211 332.8)
XYZxyz(25.9617, 13.9489, 36.4398)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CA4 #2CB23A
analogous
#7D2CB2 #B22CA4 #B22C61
triadic
#B22CA4 #A4B22C #2CA4B2
tetradic
#B22CA4 #B27D2C #2CB23A #2C61B2
square
#B22CA4 #B27D2C #2CB23A #2C61B2
split-complementary
#B22CA4 #61B22C #2CB27D
monochromatic
#50144A #812077 #B22CA4 #D249C4 #DE7AD4

Accessibility & contrast

On white

5.54
#B22CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B22CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CA4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CA4#FFFFFF#000000##FFFFFF
##B22CA41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#BA3B66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22ca4;
/* rgb */ color: rgb(178, 44, 164);
/* oklch */ color: oklch(54.7% 0.211 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd74bf',
    500: '#b22ca4',
    950: '#000000',
  },
}
SCSS
$custom: #b22ca4;
$custom-light: #cd74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ca4",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 306.269,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.21103,
    "h": 332.8
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#B22CA4
secondary
#73C67C
accent
#E45544
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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