#B322A8#B322A8

#B322A8 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.223 H 331.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B322A8
RGBrgb(179, 34, 168)
HSLhsl(305, 68%, 42%)
HSVhsv(305, 81%, 70%)
CMYKcmyk(0%, 81%, 6.1%, 29.8%)
CIE-LABlab(43.59, 68.67, -38.41)
CIE-LCHlch(43.59, 78.68, 330.78°)
OKLaboklab(54.35% 0.1968 -0.1059)
OKLCHoklch(54.35% 0.223 331.7)
XYZxyz(26.2304, 13.5571, 38.2735)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B322A8 #22B32D
analogous
#7622B3 #B322A8 #B32260
triadic
#B322A8 #A8B322 #22A8B3
tetradic
#B322A8 #B37622 #22B32D #2260B3
square
#B322A8 #B37622 #22B32D #2260B3
split-complementary
#B322A8 #60B322 #22B376
monochromatic
#4C0E47 #801878 #B322A8 #D939CD #E36CDA

Accessibility & contrast

On white

5.66
#B322A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B322A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B322A8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B322A8#FFFFFF#000000##FFFFFF
##B322A81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105AAB
Deuteranopia (green-blind)
#556EA5
Tritanopia (blue-blind)
#BB3666
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b322a8;
/* rgb */ color: rgb(179, 34, 168);
/* oklch */ color: oklch(54.4% 0.223 331.7);
Tailwind
colors: {
  custom: {
    50: '#ce70c2',
    500: '#b322a8',
    950: '#000000',
  },
}
SCSS
$custom: #b322a8;
$custom-light: #ce70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b322a8",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 304.552,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.22344,
    "h": 331.7
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#B322A8
secondary
#68C96F
accent
#EB4A3D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B322A8

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

Preview Lab → · Contrast checker → · Palette generator →

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