#B328A2#B328A2

#B328A2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.214 H 333.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B328A2
RGBrgb(179, 40, 162)
HSLhsl(307, 63%, 43%)
HSVhsv(307, 78%, 70%)
CMYKcmyk(0%, 77.7%, 9.5%, 29.8%)
CIE-LABlab(43.82, 66.20, -34.47)
CIE-LCHlch(43.82, 74.64, 332.50°)
OKLaboklab(54.41% 0.192 -0.0945)
OKLCHoklch(54.41% 0.214 333.8)
XYZxyz(25.8710, 13.7122, 35.4596)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B328A2 #28B339
analogous
#7E28B3 #B328A2 #B3285D
triadic
#B328A2 #A2B328 #28A2B3
tetradic
#B328A2 #B37E28 #28B339 #285DB3
square
#B328A2 #B37E28 #28B339 #285DB3
split-complementary
#B328A2 #5DB328 #28B37E
monochromatic
#4F1247 #811D75 #B328A2 #D543C3 #E075D3

Accessibility & contrast

On white

5.61
#B328A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B328A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B328A2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B328A2#FFFFFF#000000##FFFFFF
##B328A21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#BB3764
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b328a2;
/* rgb */ color: rgb(179, 40, 162);
/* oklch */ color: oklch(54.4% 0.214 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce72be',
    500: '#b328a2',
    950: '#000000',
  },
}
SCSS
$custom: #b328a2;
$custom-light: #ce72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b328a2",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 307.338,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.21404,
    "h": 333.8
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#B328A2
secondary
#6FC87A
accent
#E65641
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B328A2

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

Preview Lab → · Contrast checker → · Palette generator →

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