#B321A9#B321A9

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

Color values

HEX#B321A9
RGBrgb(179, 33, 169)
HSLhsl(304, 69%, 42%)
HSVhsv(304, 82%, 70%)
CMYKcmyk(0%, 81.6%, 5.6%, 29.8%)
CIE-LABlab(43.56, 69.06, -39.04)
CIE-LCHlch(43.56, 79.34, 330.52°)
OKLaboklab(54.35% 0.1974 -0.1077)
OKLCHoklch(54.35% 0.225 331.4)
XYZxyz(26.2957, 13.5382, 38.7566)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321A9 #21B32B
analogous
#7421B3 #B321A9 #B32160
triadic
#B321A9 #A9B321 #21A9B3
tetradic
#B321A9 #B37421 #21B32B #2160B3
square
#B321A9 #B37421 #21B32B #2160B3
split-complementary
#B321A9 #60B321 #21B374
monochromatic
#4C0E47 #7F1778 #B321A9 #DA37CF #E46BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B321A9#FFFFFF#000000##FFFFFF
##B321A91.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)
#0B5AAC
Deuteranopia (green-blind)
#546EA6
Tritanopia (blue-blind)
#BA3666
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b321a9;
/* rgb */ color: rgb(179, 33, 169);
/* oklch */ color: oklch(54.4% 0.225 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce70c3',
    500: '#b321a9',
    950: '#000000',
  },
}
SCSS
$custom: #b321a9;
$custom-light: #ce70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b321a9",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 304.11,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.22493,
    "h": 331.4
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#B321A9
secondary
#66CA6D
accent
#EC483C
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B321A9

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

Preview Lab → · Contrast checker → · Palette generator →

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