#B328A8#B328A8

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

Color values

HEX#B328A8
RGBrgb(179, 40, 168)
HSLhsl(305, 63%, 43%)
HSVhsv(305, 78%, 70%)
CMYKcmyk(0%, 77.7%, 6.1%, 29.8%)
CIE-LABlab(44.13, 67.11, -37.55)
CIE-LCHlch(44.13, 76.90, 330.77°)
OKLaboklab(54.74% 0.1922 -0.1034)
OKLCHoklch(54.74% 0.218 331.7)
XYZxyz(26.4171, 13.9306, 38.3358)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B328A8 #28B333
analogous
#7828B3 #B328A8 #B32863
triadic
#B328A8 #A8B328 #28A8B3
tetradic
#B328A8 #B37828 #28B333 #2863B3
square
#B328A8 #B37828 #28B333 #2863B3
split-complementary
#B328A8 #63B328 #28B378
monochromatic
#4F124A #811D79 #B328A8 #D543C9 #E075D8

Accessibility & contrast

On white

5.55
#B328A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B328A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B328A8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B328A8#FFFFFF#000000##FFFFFF
##B328A81.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAB
Deuteranopia (green-blind)
#576FA5
Tritanopia (blue-blind)
#BB3A67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b328a8;
/* rgb */ color: rgb(179, 40, 168);
/* oklch */ color: oklch(54.7% 0.218 331.7);
Tailwind
colors: {
  custom: {
    50: '#ce72c2',
    500: '#b328a8',
    950: '#000000',
  },
}
SCSS
$custom: #b328a8;
$custom-light: #ce72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b328a8",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 304.748,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.21828,
    "h": 331.7
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#B328A8
secondary
#6FC876
accent
#E64E41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B328A8

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

Preview Lab → · Contrast checker → · Palette generator →

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