#B322AF#B322AF

#B322AF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.228 H 329.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B322AF
RGBrgb(179, 34, 175)
HSLhsl(302, 68%, 42%)
HSVhsv(302, 81%, 70%)
CMYKcmyk(0%, 81%, 2.2%, 29.8%)
CIE-LABlab(43.98, 69.74, -41.94)
CIE-LCHlch(43.98, 81.38, 328.98°)
OKLaboklab(54.76% 0.1967 -0.1161)
OKLCHoklch(54.76% 0.228 329.4)
XYZxyz(26.9001, 13.8250, 41.8008)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B322AF #22B326
analogous
#6F22B3 #B322AF #B32267
triadic
#B322AF #AFB322 #22AFB3
tetradic
#B322AF #B36F22 #22B326 #2267B3
square
#B322AF #B36F22 #22B326 #2267B3
split-complementary
#B322AF #67B322 #22B36F
monochromatic
#4C0E4A #80187D #B322AF #D939D5 #E36CE0

Accessibility & contrast

On white

5.58
#B322AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B322AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B322AF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B322AF#FFFFFF#000000##FFFFFF
##B322AF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#516EAC
Tritanopia (blue-blind)
#BA3A6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b322af;
/* rgb */ color: rgb(179, 34, 175);
/* oklch */ color: oklch(54.8% 0.228 329.4);
Tailwind
colors: {
  custom: {
    50: '#ce71c7',
    500: '#b322af',
    950: '#000000',
  },
}
SCSS
$custom: #b322af;
$custom-light: #ce71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b322af",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 301.655,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.22839,
    "h": 329.4
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#B322AF
secondary
#68C96A
accent
#EB423D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B322AF

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

Preview Lab → · Contrast checker → · Palette generator →

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