#B22CAA#B22CAA

#B22CAA is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.215 H 330.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B22CAA
RGBrgb(178, 44, 170)
HSLhsl(304, 60%, 44%)
HSVhsv(304, 75%, 70%)
CMYKcmyk(0%, 75.3%, 4.5%, 30.2%)
CIE-LABlab(44.48, 66.03, -38.20)
CIE-LCHlch(44.48, 76.29, 329.95°)
OKLaboklab(54.99% 0.1879 -0.1054)
OKLCHoklch(54.99% 0.215 330.7)
XYZxyz(26.5164, 14.1707, 39.3611)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CAA #2CB234
analogous
#772CB2 #B22CAA #B22C67
triadic
#B22CAA #AAB22C #2CAAB2
tetradic
#B22CAA #B2772C #2CB234 #2C67B2
square
#B22CAA #B2772C #2CB234 #2C67B2
split-complementary
#B22CAA #67B22C #2CB277
monochromatic
#50144C #81207B #B22CAA #D249CA #DE7AD8

Accessibility & contrast

On white

5.48
#B22CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22CAA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CAA#FFFFFF#000000##FFFFFF
##B22CAA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#B93E69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22caa;
/* rgb */ color: rgb(178, 44, 170);
/* oklch */ color: oklch(55.0% 0.215 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd74c4',
    500: '#b22caa',
    950: '#000000',
  },
}
SCSS
$custom: #b22caa;
$custom-light: #cd74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22caa",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 303.582,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.21539,
    "h": 330.7
  },
  "luminance": 0.14169
}

Semantic roles & 50–950 ramp

primary
#B22CAA
secondary
#73C678
accent
#E44E44
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B22CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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