#B322A6#B322A6

#B322A6 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.222 H 332.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B322A6
RGBrgb(179, 34, 166)
HSLhsl(305, 68%, 42%)
HSVhsv(305, 81%, 70%)
CMYKcmyk(0%, 81%, 7.3%, 29.8%)
CIE-LABlab(43.48, 68.37, -37.39)
CIE-LCHlch(43.48, 77.93, 331.33°)
OKLaboklab(54.24% 0.1968 -0.1029)
OKLCHoklch(54.24% 0.222 332.4)
XYZxyz(26.0455, 13.4832, 37.2998)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B322A6 #22B32F
analogous
#7822B3 #B322A6 #B3225E
triadic
#B322A6 #A6B322 #22A6B3
tetradic
#B322A6 #B37822 #22B32F #225EB3
square
#B322A6 #B37822 #22B32F #225EB3
split-complementary
#B322A6 #5EB322 #22B378
monochromatic
#4C0E47 #801876 #B322A6 #D939CB #E36CD8

Accessibility & contrast

On white

5.68
#B322A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B322A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B322A6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B322A6#FFFFFF#000000##FFFFFF
##B322A61.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#BB3565
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b322a6;
/* rgb */ color: rgb(179, 34, 166);
/* oklch */ color: oklch(54.2% 0.222 332.4);
Tailwind
colors: {
  custom: {
    50: '#ce70c1',
    500: '#b322a6',
    950: '#000000',
  },
}
SCSS
$custom: #b322a6;
$custom-light: #ce70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b322a6",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 305.379,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.22205,
    "h": 332.4
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#B322A6
secondary
#68C970
accent
#EB4C3D
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B322A6

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

Preview Lab → · Contrast checker → · Palette generator →

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