#B325A1#B325A1

#B325A1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.216 H 334.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B325A1
RGBrgb(179, 37, 161)
HSLhsl(308, 66%, 42%)
HSVhsv(308, 79%, 70%)
CMYKcmyk(0%, 79.3%, 10.1%, 29.8%)
CIE-LABlab(43.48, 66.88, -34.40)
CIE-LCHlch(43.48, 75.20, 332.78°)
OKLaboklab(54.15% 0.1944 -0.0943)
OKLCHoklch(54.15% 0.216 334.1)
XYZxyz(25.6853, 13.4824, 34.9609)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B325A1 #25B337
analogous
#7E25B3 #B325A1 #B3255A
triadic
#B325A1 #A1B325 #25A1B3
tetradic
#B325A1 #B37E25 #25B337 #255AB3
square
#B325A1 #B37E25 #25B337 #255AB3
split-complementary
#B325A1 #5AB325 #25B37E
monochromatic
#4E1046 #801B73 #B325A1 #D73EC4 #E271D3

Accessibility & contrast

On white

5.68
#B325A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B325A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B325A1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B325A1#FFFFFF#000000##FFFFFF
##B325A11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#BC3462
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b325a1;
/* rgb */ color: rgb(179, 37, 161);
/* oklch */ color: oklch(54.2% 0.216 334.1);
Tailwind
colors: {
  custom: {
    50: '#ce71bd',
    500: '#b325a1',
    950: '#000000',
  },
}
SCSS
$custom: #b325a1;
$custom-light: #ce71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b325a1",
  "rgb": {
    "r": 179,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 307.606,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.21607,
    "h": 334.1
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#B325A1
secondary
#6BC877
accent
#E9553F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B325A1

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

Preview Lab → · Contrast checker → · Palette generator →

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