#B22BA0#B22BA0

#B22BA0 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.209 H 334.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B22BA0
RGBrgb(178, 43, 160)
HSLhsl(308, 61%, 43%)
HSVhsv(308, 76%, 70%)
CMYKcmyk(0%, 75.8%, 10.1%, 30.2%)
CIE-LABlab(43.85, 64.81, -33.24)
CIE-LCHlch(43.85, 72.83, 332.85°)
OKLaboklab(54.37% 0.1884 -0.091)
OKLCHoklch(54.37% 0.209 334.2)
XYZxyz(25.5694, 13.7330, 34.5550)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22BA0 #2BB23D
analogous
#802BB2 #B22BA0 #B22B5C
triadic
#B22BA0 #A0B22B #2BA0B2
tetradic
#B22BA0 #B2802B #2BB23D #2B5CB2
square
#B22BA0 #B2802B #2BB23D #2B5CB2
split-complementary
#B22BA0 #5CB22B #2BB280
monochromatic
#4F1347 #811F74 #B22BA0 #D348C0 #DF79D1

Accessibility & contrast

On white

5.61
#B22BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B22BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22BA0
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22BA0#FFFFFF#000000##FFFFFF
##B22BA01.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA3
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#BB3863
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22ba0;
/* rgb */ color: rgb(178, 43, 160);
/* oklch */ color: oklch(54.4% 0.209 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd73bc',
    500: '#b22ba0',
    950: '#000000',
  },
}
SCSS
$custom: #b22ba0;
$custom-light: #cd73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ba0",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 308,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.2092,
    "h": 334.2
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#B22BA0
secondary
#72C77D
accent
#E45944
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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