#B22CB4#B22CB4

#B22CB4 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.223 H 327.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B22CB4
RGBrgb(178, 44, 180)
HSLhsl(299, 61%, 44%)
HSVhsv(299, 76%, 71%)
CMYKcmyk(1.1%, 75.6%, 0%, 29.4%)
CIE-LABlab(45.03, 67.63, -43.23)
CIE-LCHlch(45.03, 80.27, 327.41°)
OKLaboklab(55.56% 0.1878 -0.12)
OKLCHoklch(55.56% 0.223 327.4)
XYZxyz(27.4986, 14.5636, 44.5339)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CB4 #2EB42C
analogous
#6E2CB4 #B22CB4 #B42C72
triadic
#B22CB4 #B4B22C #2CB4B2
tetradic
#B22CB4 #B46E2C #2EB42C #2C72B4
square
#B22CB4 #B46E2C #2EB42C #2C72B4
split-complementary
#B22CB4 #72B42C #2CB46E
monochromatic
#511452 #812083 #B22CB4 #D14AD3 #DD7CDF

Accessibility & contrast

On white

5.37
#B22CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B22CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CB4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CB4#FFFFFF#000000##FFFFFF
##B22CB41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0360B8
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#B7436F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b22cb4;
/* rgb */ color: rgb(178, 44, 180);
/* oklch */ color: oklch(55.6% 0.223 327.4);
Tailwind
colors: {
  custom: {
    50: '#cd74cb',
    500: '#b22cb4',
    950: '#000000',
  },
}
SCSS
$custom: #b22cb4;
$custom-light: #cd74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b22cb4",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 299.118,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.22287,
    "h": 327.4
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#B22CB4
secondary
#76C775
accent
#E44446
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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