#B22BAD#B22BAD

#B22BAD is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.219 H 329.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B22BAD
RGBrgb(178, 43, 173)
HSLhsl(302, 61%, 43%)
HSVhsv(302, 76%, 70%)
CMYKcmyk(0%, 75.8%, 2.8%, 30.2%)
CIE-LABlab(44.54, 66.81, -39.89)
CIE-LCHlch(44.54, 77.81, 329.16°)
OKLaboklab(55.08% 0.1887 -0.1103)
OKLCHoklch(55.08% 0.219 329.7)
XYZxyz(26.7666, 14.2119, 40.8605)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22BAD #2BB230
analogous
#732BB2 #B22BAD #B22B69
triadic
#B22BAD #ADB22B #2BADB2
tetradic
#B22BAD #B2732B #2BB230 #2B69B2
square
#B22BAD #B2732B #2BB230 #2B69B2
split-complementary
#B22BAD #69B22B #2BB273
monochromatic
#4F134D #811F7D #B22BAD #D348CE #DF79DB

Accessibility & contrast

On white

5.47
#B22BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B22BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22BAD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22BAD#FFFFFF#000000##FFFFFF
##B22BAD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB0
Deuteranopia (green-blind)
#5470AA
Tritanopia (blue-blind)
#B93F6B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22bad;
/* rgb */ color: rgb(178, 43, 173);
/* oklch */ color: oklch(55.1% 0.219 329.7);
Tailwind
colors: {
  custom: {
    50: '#cd74c6',
    500: '#b22bad',
    950: '#000000',
  },
}
SCSS
$custom: #b22bad;
$custom-light: #cd74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22bad",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 302.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.21859,
    "h": 329.7
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#B22BAD
secondary
#72C775
accent
#E44A44
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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