#B322B1#B322B1

#B322B1 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.9% C 0.230 H 328.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B322B1
RGBrgb(179, 34, 177)
HSLhsl(301, 68%, 42%)
HSVhsv(301, 81%, 70%)
CMYKcmyk(0%, 81%, 1.1%, 29.8%)
CIE-LABlab(44.10, 70.05, -42.94)
CIE-LCHlch(44.10, 82.17, 328.49°)
OKLaboklab(54.87% 0.1966 -0.1191)
OKLCHoklch(54.87% 0.23 328.8)
XYZxyz(27.0980, 13.9042, 42.8430)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B322B1 #22B324
analogous
#6D22B3 #B322B1 #B32268
triadic
#B322B1 #B1B322 #22B1B3
tetradic
#B322B1 #B36D22 #22B324 #2268B3
square
#B322B1 #B36D22 #22B324 #2268B3
split-complementary
#B322B1 #68B322 #22B36D
monochromatic
#4C0E4B #80187E #B322B1 #D939D7 #E36CE1

Accessibility & contrast

On white

5.55
#B322B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B322B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B322B1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B322B1#FFFFFF#000000##FFFFFF
##B322B11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4F6FAE
Tritanopia (blue-blind)
#B93B6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b322b1;
/* rgb */ color: rgb(179, 34, 177);
/* oklch */ color: oklch(54.9% 0.230 328.8);
Tailwind
colors: {
  custom: {
    50: '#ce71c9',
    500: '#b322b1',
    950: '#000000',
  },
}
SCSS
$custom: #b322b1;
$custom-light: #ce71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b322b1",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 300.828,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.22982,
    "h": 328.8
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#B322B1
secondary
#68C969
accent
#EB3F3D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B322B1

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

Preview Lab → · Contrast checker → · Palette generator →

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