#B321A5#B321A5

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

Color values

HEX#B321A5
RGBrgb(179, 33, 165)
HSLhsl(306, 69%, 42%)
HSVhsv(306, 82%, 70%)
CMYKcmyk(0%, 81.6%, 7.8%, 29.8%)
CIE-LABlab(43.35, 68.47, -37.01)
CIE-LCHlch(43.35, 77.83, 331.61°)
OKLaboklab(54.13% 0.1974 -0.1018)
OKLCHoklch(54.13% 0.222 332.7)
XYZxyz(25.9259, 13.3903, 36.8092)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321A5 #21B32F
analogous
#7821B3 #B321A5 #B3215C
triadic
#B321A5 #A5B321 #21A5B3
tetradic
#B321A5 #B37821 #21B32F #215CB3
square
#B321A5 #B37821 #21B32F #215CB3
split-complementary
#B321A5 #5CB321 #21B378
monochromatic
#4C0E46 #7F1775 #B321A5 #DA37CB #E46BD8

Accessibility & contrast

On white

5.71
#B321A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B321A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B321A5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B321A5#FFFFFF#000000##FFFFFF
##B321A51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#566DA2
Tritanopia (blue-blind)
#BB3464
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b321a5;
/* rgb */ color: rgb(179, 33, 165);
/* oklch */ color: oklch(54.1% 0.222 332.7);
Tailwind
colors: {
  custom: {
    50: '#ce70c0',
    500: '#b321a5',
    950: '#000000',
  },
}
SCSS
$custom: #b321a5;
$custom-light: #ce70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b321a5",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 165
  },
  "hsl": {
    "h": 305.753,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.22215,
    "h": 332.7
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B321A5

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

Preview Lab → · Contrast checker → · Palette generator →

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