#B321A4#B321A4

#B321A4 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.221 H 333.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B321A4
RGBrgb(179, 33, 164)
HSLhsl(306, 69%, 42%)
HSVhsv(306, 82%, 70%)
CMYKcmyk(0%, 81.6%, 8.4%, 29.8%)
CIE-LABlab(43.29, 68.32, -36.49)
CIE-LCHlch(43.29, 77.45, 331.89°)
OKLaboklab(54.07% 0.1974 -0.1003)
OKLCHoklch(54.07% 0.221 333.1)
XYZxyz(25.8353, 13.3540, 36.3317)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321A4 #21B330
analogous
#7921B3 #B321A4 #B3215B
triadic
#B321A4 #A4B321 #21A4B3
tetradic
#B321A4 #B37921 #21B330 #215BB3
square
#B321A4 #B37921 #21B330 #215BB3
split-complementary
#B321A4 #5BB321 #21B379
monochromatic
#4C0E45 #7F1775 #B321A4 #DA37C9 #E46BD7

Accessibility & contrast

On white

5.72
#B321A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B321A4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B321A4#FFFFFF#000000##FFFFFF
##B321A41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1759A7
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#BB3363
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b321a4;
/* rgb */ color: rgb(179, 33, 164);
/* oklch */ color: oklch(54.1% 0.221 333.1);
Tailwind
colors: {
  custom: {
    50: '#ce70bf',
    500: '#b321a4',
    950: '#000000',
  },
}
SCSS
$custom: #b321a4;
$custom-light: #ce70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b321a4",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 306.164,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.22147,
    "h": 333.1
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#B321A4
secondary
#66CA70
accent
#EC4E3C
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B321A4

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

Preview Lab → · Contrast checker → · Palette generator →

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