#B22BA5#B22BA5

#B22BA5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.213 H 332.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B22BA5
RGBrgb(178, 43, 165)
HSLhsl(306, 61%, 43%)
HSVhsv(306, 76%, 70%)
CMYKcmyk(0%, 75.8%, 7.3%, 30.2%)
CIE-LABlab(44.11, 65.56, -35.82)
CIE-LCHlch(44.11, 74.71, 331.35°)
OKLaboklab(54.64% 0.1886 -0.0985)
OKLCHoklch(54.64% 0.213 332.4)
XYZxyz(26.0156, 13.9115, 36.9050)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22BA5 #2BB238
analogous
#7B2BB2 #B22BA5 #B22B61
triadic
#B22BA5 #A5B22B #2BA5B2
tetradic
#B22BA5 #B27B2B #2BB238 #2B61B2
square
#B22BA5 #B27B2B #2BB238 #2B61B2
split-complementary
#B22BA5 #61B22B #2BB27B
monochromatic
#4F134A #811F77 #B22BA5 #D348C5 #DF79D5

Accessibility & contrast

On white

5.55
#B22BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B22BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22BA5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22BA5#FFFFFF#000000##FFFFFF
##B22BA51.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#586FA2
Tritanopia (blue-blind)
#BA3B66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22ba5;
/* rgb */ color: rgb(178, 43, 165);
/* oklch */ color: oklch(54.6% 0.213 332.4);
Tailwind
colors: {
  custom: {
    50: '#cd73c0',
    500: '#b22ba5',
    950: '#000000',
  },
}
SCSS
$custom: #b22ba5;
$custom-light: #cd73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ba5",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 305.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.21275,
    "h": 332.4
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#B22BA5
secondary
#72C77A
accent
#E45344
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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