#B322A1#B322A1

#B322A1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.219 H 334.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B322A1
RGBrgb(179, 34, 161)
HSLhsl(307, 68%, 42%)
HSVhsv(307, 81%, 70%)
CMYKcmyk(0%, 81%, 10.1%, 29.8%)
CIE-LABlab(43.22, 67.64, -34.82)
CIE-LCHlch(43.22, 76.07, 332.76°)
OKLaboklab(53.96% 0.1966 -0.0955)
OKLCHoklch(53.96% 0.219 334.1)
XYZxyz(25.5957, 13.3033, 34.9311)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B322A1 #22B334
analogous
#7D22B3 #B322A1 #B32259
triadic
#B322A1 #A1B322 #22A1B3
tetradic
#B322A1 #B37D22 #22B334 #2259B3
square
#B322A1 #B37D22 #22B334 #2259B3
split-complementary
#B322A1 #59B322 #22B37D
monochromatic
#4C0E44 #801873 #B322A1 #D939C5 #E36CD4

Accessibility & contrast

On white

5.74
#B322A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B322A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B322A1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B322A1#FFFFFF#000000##FFFFFF
##B322A11.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#BC3262
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b322a1;
/* rgb */ color: rgb(179, 34, 161);
/* oklch */ color: oklch(54.0% 0.219 334.1);
Tailwind
colors: {
  custom: {
    50: '#ce70bd',
    500: '#b322a1',
    950: '#000000',
  },
}
SCSS
$custom: #b322a1;
$custom-light: #ce70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b322a1",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 307.448,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.21861,
    "h": 334.1
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#B322A1
secondary
#68C974
accent
#EB523D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B322A1

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

Preview Lab → · Contrast checker → · Palette generator →

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