#B22CB3#B22CB3

#B22CB3 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.222 H 327.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B22CB3
RGBrgb(178, 44, 179)
HSLhsl(300, 61%, 44%)
HSVhsv(300, 75%, 70%)
CMYKcmyk(0.6%, 75.4%, 0%, 29.8%)
CIE-LABlab(44.97, 67.47, -42.74)
CIE-LCHlch(44.97, 79.86, 327.65°)
OKLaboklab(55.5% 0.1878 -0.1185)
OKLCHoklch(55.5% 0.222 327.7)
XYZxyz(27.3971, 14.5230, 43.9993)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CB3 #2DB32C
analogous
#6E2CB3 #B22CB3 #B32C70
triadic
#B22CB3 #B3B22C #2CB3B2
tetradic
#B22CB3 #B36E2C #2DB32C #2C70B3
square
#B22CB3 #B36E2C #2DB32C #2C70B3
split-complementary
#B22CB3 #70B32C #2CB36E
monochromatic
#501451 #812082 #B22CB3 #D14AD2 #DE7BDF

Accessibility & contrast

On white

5.38
#B22CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B22CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CB3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CB3#FFFFFF#000000##FFFFFF
##B22CB31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065FB7
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#B8426E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22cb3;
/* rgb */ color: rgb(178, 44, 179);
/* oklch */ color: oklch(55.5% 0.222 327.7);
Tailwind
colors: {
  custom: {
    50: '#cd74ca',
    500: '#b22cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b22cb3;
$custom-light: #cd74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b22cb3",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 299.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.2221,
    "h": 327.7
  },
  "luminance": 0.14521
}

Semantic roles & 50–950 ramp

primary
#B22CB3
secondary
#75C774
accent
#E44445
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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