#B328B1#B328B1

#B328B1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.225 H 328.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B328B1
RGBrgb(179, 40, 177)
HSLhsl(301, 63%, 43%)
HSVhsv(301, 78%, 70%)
CMYKcmyk(0%, 77.7%, 1.1%, 29.8%)
CIE-LABlab(44.63, 68.51, -42.09)
CIE-LCHlch(44.63, 80.41, 328.43°)
OKLaboklab(55.25% 0.1922 -0.1166)
OKLCHoklch(55.25% 0.225 328.7)
XYZxyz(27.2848, 14.2777, 42.9053)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B328B1 #28B32A
analogous
#6F28B3 #B328B1 #B3286C
triadic
#B328B1 #B1B328 #28B1B3
tetradic
#B328B1 #B36F28 #28B32A #286CB3
square
#B328B1 #B36F28 #28B32A #286CB3
split-complementary
#B328B1 #6CB328 #28B36F
monochromatic
#4F124E #811D80 #B328B1 #D543D3 #E075DF

Accessibility & contrast

On white

5.45
#B328B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B328B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B328B1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B328B1#FFFFFF#000000##FFFFFF
##B328B11.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035EB5
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#B93F6C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b328b1;
/* rgb */ color: rgb(179, 40, 177);
/* oklch */ color: oklch(55.3% 0.225 328.7);
Tailwind
colors: {
  custom: {
    50: '#ce73c9',
    500: '#b328b1',
    950: '#000000',
  },
}
SCSS
$custom: #b328b1;
$custom-light: #ce73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b328b1",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 300.863,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55252,
    "c": 0.2248,
    "h": 328.7
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#B328B1
secondary
#6FC870
accent
#E64441
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B328B1

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

Preview Lab → · Contrast checker → · Palette generator →

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