#B321AB#B321AB

#B321AB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.226 H 330.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B321AB
RGBrgb(179, 33, 171)
HSLhsl(303, 69%, 42%)
HSVhsv(303, 82%, 70%)
CMYKcmyk(0%, 81.6%, 4.5%, 29.8%)
CIE-LABlab(43.67, 69.36, -40.06)
CIE-LCHlch(43.67, 80.10, 329.99°)
OKLaboklab(54.46% 0.1974 -0.1107)
OKLCHoklch(54.46% 0.226 330.7)
XYZxyz(26.4849, 13.6139, 39.7530)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B321AB #21B329
analogous
#7221B3 #B321AB #B32162
triadic
#B321AB #ABB321 #21ABB3
tetradic
#B321AB #B37221 #21B329 #2162B3
square
#B321AB #B37221 #21B329 #2162B3
split-complementary
#B321AB #62B321 #21B372
monochromatic
#4C0E48 #7F177A #B321AB #DA37D1 #E46BDD

Accessibility & contrast

On white

5.64
#B321AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B321AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B321AB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B321AB#FFFFFF#000000##FFFFFF
##B321AB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#536EA8
Tritanopia (blue-blind)
#BA3867
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b321ab;
/* rgb */ color: rgb(179, 33, 171);
/* oklch */ color: oklch(54.5% 0.226 330.7);
Tailwind
colors: {
  custom: {
    50: '#ce70c4',
    500: '#b321ab',
    950: '#000000',
  },
}
SCSS
$custom: #b321ab;
$custom-light: #ce70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b321ab",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 171
  },
  "hsl": {
    "h": 303.288,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.22633,
    "h": 330.7
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#B321AB
secondary
#66CA6C
accent
#EC463C
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B321AB

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

Preview Lab → · Contrast checker → · Palette generator →

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