#B328A7#B328A7

#B328A7 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.218 H 332.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B328A7
RGBrgb(179, 40, 167)
HSLhsl(305, 63%, 43%)
HSVhsv(305, 78%, 70%)
CMYKcmyk(0%, 77.7%, 6.7%, 29.8%)
CIE-LABlab(44.08, 66.95, -37.04)
CIE-LCHlch(44.08, 76.52, 331.05°)
OKLaboklab(54.68% 0.1922 -0.102)
OKLCHoklch(54.68% 0.218 332.1)
XYZxyz(26.3243, 13.8935, 37.8470)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B328A7 #28B334
analogous
#7928B3 #B328A7 #B32861
triadic
#B328A7 #A7B328 #28A7B3
tetradic
#B328A7 #B37928 #28B334 #2861B3
square
#B328A7 #B37928 #28B334 #2861B3
split-complementary
#B328A7 #61B328 #28B379
monochromatic
#4F124A #811D78 #B328A7 #D543C8 #E075D7

Accessibility & contrast

On white

5.56
#B328A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B328A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B328A7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B328A7#FFFFFF#000000##FFFFFF
##B328A71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5CAA
Deuteranopia (green-blind)
#576FA4
Tritanopia (blue-blind)
#BB3966
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b328a7;
/* rgb */ color: rgb(179, 40, 167);
/* oklch */ color: oklch(54.7% 0.218 332.1);
Tailwind
colors: {
  custom: {
    50: '#ce72c1',
    500: '#b328a7',
    950: '#000000',
  },
}
SCSS
$custom: #b328a7;
$custom-light: #ce72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b328a7",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 305.18,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.21756,
    "h": 332.1
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#B328A7
secondary
#6FC877
accent
#E65041
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B328A7

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

Preview Lab → · Contrast checker → · Palette generator →

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