#B22CA0#B22CA0

#B22CA0 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.208 H 334.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B22CA0
RGBrgb(178, 44, 160)
HSLhsl(308, 60%, 44%)
HSVhsv(308, 75%, 70%)
CMYKcmyk(0%, 75.3%, 10.1%, 30.2%)
CIE-LABlab(43.95, 64.50, -33.07)
CIE-LCHlch(43.95, 72.49, 332.86°)
OKLaboklab(54.44% 0.1875 -0.0906)
OKLCHoklch(54.44% 0.208 334.2)
XYZxyz(25.6062, 13.8067, 34.5672)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CA0 #2CB23E
analogous
#812CB2 #B22CA0 #B22C5D
triadic
#B22CA0 #A0B22C #2CA0B2
tetradic
#B22CA0 #B2812C #2CB23E #2C5DB2
square
#B22CA0 #B2812C #2CB23E #2C5DB2
split-complementary
#B22CA0 #5DB22C #2CB281
monochromatic
#501448 #812074 #B22CA0 #D249C0 #DE7AD1

Accessibility & contrast

On white

5.58
#B22CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B22CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CA0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CA0#FFFFFF#000000##FFFFFF
##B22CA01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA3
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#BB3964
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22ca0;
/* rgb */ color: rgb(178, 44, 160);
/* oklch */ color: oklch(54.4% 0.208 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd74bc',
    500: '#b22ca0',
    950: '#000000',
  },
}
SCSS
$custom: #b22ca0;
$custom-light: #cd74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ca0",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 308.06,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.20818,
    "h": 334.2
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#B22CA0
secondary
#73C67F
accent
#E45A44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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