#B321A3#B321A3

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

Color values

HEX#B321A3
RGBrgb(179, 33, 163)
HSLhsl(307, 69%, 42%)
HSVhsv(307, 82%, 70%)
CMYKcmyk(0%, 81.6%, 8.9%, 29.8%)
CIE-LABlab(43.24, 68.17, -35.98)
CIE-LCHlch(43.24, 77.08, 332.18°)
OKLaboklab(54.01% 0.1974 -0.0989)
OKLCHoklch(54.01% 0.221 333.4)
XYZxyz(25.7453, 13.3181, 35.8580)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321A3 #21B331
analogous
#7A21B3 #B321A3 #B3215A
triadic
#B321A3 #A3B321 #21A3B3
tetradic
#B321A3 #B37A21 #21B331 #215AB3
square
#B321A3 #B37A21 #21B331 #215AB3
split-complementary
#B321A3 #5AB321 #21B37A
monochromatic
#4C0E45 #7F1774 #B321A3 #DA37C8 #E46BD6

Accessibility & contrast

On white

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

On black

3.66
#B321A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B321A3#FFFFFF#000000##FFFFFF
##B321A31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A6
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#BB3363
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b321a3;
/* rgb */ color: rgb(179, 33, 163);
/* oklch */ color: oklch(54.0% 0.221 333.4);
Tailwind
colors: {
  custom: {
    50: '#ce70bf',
    500: '#b321a3',
    950: '#000000',
  },
}
SCSS
$custom: #b321a3;
$custom-light: #ce70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b321a3",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 163
  },
  "hsl": {
    "h": 306.575,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.22078,
    "h": 333.4
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#B321A3
secondary
#66CA71
accent
#EC4F3C
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B321A3

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

Preview Lab → · Contrast checker → · Palette generator →

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