#B22BC3#B22BC3

#B22BC3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.4% C 0.235 H 322.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B22BC3
RGBrgb(178, 43, 195)
HSLhsl(293, 64%, 47%)
HSVhsv(293, 78%, 76%)
CMYKcmyk(8.7%, 77.9%, 0%, 23.5%)
CIE-LABlab(45.82, 70.43, -50.75)
CIE-LCHlch(45.82, 86.81, 324.22°)
OKLaboklab(56.41% 0.1877 -0.1419)
OKLCHoklch(56.41% 0.235 322.9)
XYZxyz(29.0733, 15.1346, 53.0091)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22BC3 #3CC32B
analogous
#662BC3 #B22BC3 #C32B88
triadic
#B22BC3 #C3B22B #2BC3B2
tetradic
#B22BC3 #C3662B #3CC32B #2B88C3
square
#B22BC3 #C3662B #3CC32B #2B88C3
split-complementary
#B22BC3 #88C32B #2BC366
monochromatic
#56155F #842091 #B22BC3 #CA52D9 #D984E4

Accessibility & contrast

On white

5.22
#B22BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B22BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22BC3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22BC3#FFFFFF#000000##FFFFFF
##B22BC31.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#4572C0
Tritanopia (blue-blind)
#B54A77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b22bc3;
/* rgb */ color: rgb(178, 43, 195);
/* oklch */ color: oklch(56.4% 0.235 322.9);
Tailwind
colors: {
  custom: {
    50: '#cd75d6',
    500: '#b22bc3',
    950: '#000000',
  },
}
SCSS
$custom: #b22bc3;
$custom-light: #cd75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22bc3",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 293.289,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.23531,
    "h": 322.9
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#B22BC3
secondary
#86CD7D
accent
#E74153
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B22BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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