#B322AB#B322AB

#B322AB is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.226 H 330.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B322AB
RGBrgb(179, 34, 171)
HSLhsl(303, 68%, 42%)
HSVhsv(303, 81%, 70%)
CMYKcmyk(0%, 81%, 4.5%, 29.8%)
CIE-LABlab(43.76, 69.13, -39.93)
CIE-LCHlch(43.76, 79.83, 329.99°)
OKLaboklab(54.52% 0.1967 -0.1103)
OKLCHoklch(54.52% 0.226 330.7)
XYZxyz(26.5131, 13.6702, 39.7624)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B322AB #22B32A
analogous
#7222B3 #B322AB #B32263
triadic
#B322AB #ABB322 #22ABB3
tetradic
#B322AB #B37222 #22B32A #2263B3
square
#B322AB #B37222 #22B32A #2263B3
split-complementary
#B322AB #63B322 #22B372
monochromatic
#4C0E49 #80187A #B322AB #D939D1 #E36CDD

Accessibility & contrast

On white

5.62
#B322AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B322AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B322AB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B322AB#FFFFFF#000000##FFFFFF
##B322AB1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075BAE
Deuteranopia (green-blind)
#536EA8
Tritanopia (blue-blind)
#BA3867
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b322ab;
/* rgb */ color: rgb(179, 34, 171);
/* oklch */ color: oklch(54.5% 0.226 330.7);
Tailwind
colors: {
  custom: {
    50: '#ce71c4',
    500: '#b322ab',
    950: '#000000',
  },
}
SCSS
$custom: #b322ab;
$custom-light: #ce71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b322ab",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 171
  },
  "hsl": {
    "h": 303.31,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54523,
    "c": 0.22555,
    "h": 330.7
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#B322AB
secondary
#68C96D
accent
#EB463D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B322AB

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

Preview Lab → · Contrast checker → · Palette generator →

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