#B22BA9#B22BA9

#B22BA9 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.216 H 331.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B22BA9
RGBrgb(178, 43, 169)
HSLhsl(304, 61%, 43%)
HSVhsv(304, 76%, 70%)
CMYKcmyk(0%, 75.8%, 5.1%, 30.2%)
CIE-LABlab(44.32, 66.18, -37.86)
CIE-LCHlch(44.32, 76.24, 330.23°)
OKLaboklab(54.86% 0.1887 -0.1044)
OKLCHoklch(54.86% 0.216 331)
XYZxyz(26.3854, 14.0594, 38.8525)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22BA9 #2BB234
analogous
#772BB2 #B22BA9 #B22B65
triadic
#B22BA9 #A9B22B #2BA9B2
tetradic
#B22BA9 #B2772B #2BB234 #2B65B2
square
#B22BA9 #B2772B #2BB234 #2B65B2
split-complementary
#B22BA9 #65B22B #2BB277
monochromatic
#4F134B #811F7A #B22BA9 #D348C9 #DF79D8

Accessibility & contrast

On white

5.51
#B22BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B22BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22BA9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22BA9#FFFFFF#000000##FFFFFF
##B22BA91.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#B93D68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22ba9;
/* rgb */ color: rgb(178, 43, 169);
/* oklch */ color: oklch(54.9% 0.216 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd73c3',
    500: '#b22ba9',
    950: '#000000',
  },
}
SCSS
$custom: #b22ba9;
$custom-light: #cd73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ba9",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 304,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.21565,
    "h": 331
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#B22BA9
secondary
#72C778
accent
#E44E44
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B22BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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