#B322A2#B322A2

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

Color values

HEX#B322A2
RGBrgb(179, 34, 162)
HSLhsl(307, 68%, 42%)
HSVhsv(307, 81%, 70%)
CMYKcmyk(0%, 81%, 9.5%, 29.8%)
CIE-LABlab(43.27, 67.79, -35.33)
CIE-LCHlch(43.27, 76.44, 332.47°)
OKLaboklab(54.02% 0.1967 -0.097)
OKLCHoklch(54.02% 0.219 333.7)
XYZxyz(25.6843, 13.3387, 35.3973)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B322A2 #22B333
analogous
#7B22B3 #B322A2 #B3225A
triadic
#B322A2 #A2B322 #22A2B3
tetradic
#B322A2 #B37B22 #22B333 #225AB3
square
#B322A2 #B37B22 #22B333 #225AB3
split-complementary
#B322A2 #5AB322 #22B37B
monochromatic
#4C0E45 #801873 #B322A2 #D939C7 #E36CD5

Accessibility & contrast

On white

5.73
#B322A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B322A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B322A2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B322A2#FFFFFF#000000##FFFFFF
##B322A21.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#586D9F
Tritanopia (blue-blind)
#BC3362
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b322a2;
/* rgb */ color: rgb(179, 34, 162);
/* oklch */ color: oklch(54.0% 0.219 333.7);
Tailwind
colors: {
  custom: {
    50: '#ce70be',
    500: '#b322a2',
    950: '#000000',
  },
}
SCSS
$custom: #b322a2;
$custom-light: #ce70be;
$custom-dark: #000000;
JSON
{
  "hex": "#b322a2",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 307.034,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54019,
    "c": 0.21929,
    "h": 333.7
  },
  "luminance": 0.13336
}

Semantic roles & 50–950 ramp

primary
#B322A2
secondary
#68C973
accent
#EB513D
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B322A2

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

Preview Lab → · Contrast checker → · Palette generator →

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