#B322A7#B322A7

#B322A7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.223 H 332.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B322A7
RGBrgb(179, 34, 167)
HSLhsl(305, 68%, 42%)
HSVhsv(305, 81%, 70%)
CMYKcmyk(0%, 81%, 6.7%, 29.8%)
CIE-LABlab(43.54, 68.52, -37.90)
CIE-LCHlch(43.54, 78.30, 331.06°)
OKLaboklab(54.3% 0.1968 -0.1044)
OKLCHoklch(54.3% 0.223 332)
XYZxyz(26.1376, 13.5200, 37.7848)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B322A7 #22B32E
analogous
#7722B3 #B322A7 #B3225E
triadic
#B322A7 #A7B322 #22A7B3
tetradic
#B322A7 #B37722 #22B32E #225EB3
square
#B322A7 #B37722 #22B32E #225EB3
split-complementary
#B322A7 #5EB322 #22B377
monochromatic
#4C0E47 #801877 #B322A7 #D939CC #E36CD9

Accessibility & contrast

On white

5.67
#B322A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B322A7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B322A7#FFFFFF#000000##FFFFFF
##B322A71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AAA
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#BB3665
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b322a7;
/* rgb */ color: rgb(179, 34, 167);
/* oklch */ color: oklch(54.3% 0.223 332.0);
Tailwind
colors: {
  custom: {
    50: '#ce70c1',
    500: '#b322a7',
    950: '#000000',
  },
}
SCSS
$custom: #b322a7;
$custom-light: #ce70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b322a7",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 304.966,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.22275,
    "h": 332
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B322A7

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

Preview Lab → · Contrast checker → · Palette generator →

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