#B22CB1#B22CB1

#B22CB1 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.221 H 328.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B22CB1
RGBrgb(178, 44, 177)
HSLhsl(300, 60%, 44%)
HSVhsv(300, 75%, 70%)
CMYKcmyk(0%, 75.3%, 0.6%, 30.2%)
CIE-LABlab(44.86, 67.15, -41.74)
CIE-LCHlch(44.86, 79.06, 328.14°)
OKLaboklab(55.39% 0.1879 -0.1156)
OKLCHoklch(55.39% 0.221 328.4)
XYZxyz(27.1963, 14.4427, 42.9418)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CB1 #2CB22D
analogous
#702CB2 #B22CB1 #B22C6E
triadic
#B22CB1 #B1B22C #2CB1B2
tetradic
#B22CB1 #B2702C #2CB22D #2C6EB2
square
#B22CB1 #B2702C #2CB22D #2C6EB2
split-complementary
#B22CB1 #6EB22C #2CB270
monochromatic
#50144F #812080 #B22CB1 #D249D1 #DE7ADD

Accessibility & contrast

On white

5.40
#B22CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B22CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CB1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CB1#FFFFFF#000000##FFFFFF
##B22CB11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB5
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#B8416D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22cb1;
/* rgb */ color: rgb(178, 44, 177);
/* oklch */ color: oklch(55.4% 0.221 328.4);
Tailwind
colors: {
  custom: {
    50: '#cd74c9',
    500: '#b22cb1',
    950: '#000000',
  },
}
SCSS
$custom: #b22cb1;
$custom-light: #cd74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22cb1",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 300.448,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55386,
    "c": 0.2206,
    "h": 328.4
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#B22CB1
secondary
#73C674
accent
#E44544
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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