#B128A4#B128A4

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

Color values

HEX#B128A4
RGBrgb(177, 40, 164)
HSLhsl(306, 63%, 43%)
HSVhsv(306, 77%, 69%)
CMYKcmyk(0%, 77.4%, 7.3%, 30.6%)
CIE-LABlab(43.58, 66.07, -36.07)
CIE-LCHlch(43.58, 75.27, 331.37°)
OKLaboklab(54.21% 0.1901 -0.0992)
OKLCHoklch(54.21% 0.214 332.4)
XYZxyz(25.5912, 13.5472, 36.3818)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128A4 #28B135
analogous
#7928B1 #B128A4 #B12860
triadic
#B128A4 #A4B128 #28A4B1
tetradic
#B128A4 #B17928 #28B135 #2860B1
square
#B128A4 #B17928 #28B135 #2860B1
split-complementary
#B128A4 #60B128 #28B179
monochromatic
#4D1147 #7F1D76 #B128A4 #D442C6 #E074D5

Accessibility & contrast

On white

5.66
#B128A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B128A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B128A4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128A4#FFFFFF#000000##FFFFFF
##B128A41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA7
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#B93865
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b128a4;
/* rgb */ color: rgb(177, 40, 164);
/* oklch */ color: oklch(54.2% 0.214 332.4);
Tailwind
colors: {
  custom: {
    50: '#cc72bf',
    500: '#b128a4',
    950: '#000000',
  },
}
SCSS
$custom: #b128a4;
$custom-light: #cc72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b128a4",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 305.693,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.21444,
    "h": 332.4
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#B128A4
secondary
#6EC776
accent
#E65142
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B128A4

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

Preview Lab → · Contrast checker → · Palette generator →

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