#B128A9#B128A9

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

Color values

HEX#B128A9
RGBrgb(177, 40, 169)
HSLhsl(304, 63%, 43%)
HSVhsv(304, 77%, 69%)
CMYKcmyk(0%, 77.4%, 4.5%, 30.6%)
CIE-LABlab(43.85, 66.84, -38.62)
CIE-LCHlch(43.85, 77.19, 329.98°)
OKLaboklab(54.49% 0.1902 -0.1066)
OKLCHoklch(54.49% 0.218 330.7)
XYZxyz(26.0516, 13.7314, 38.8068)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128A9 #28B130
analogous
#7528B1 #B128A9 #B12864
triadic
#B128A9 #A9B128 #28A9B1
tetradic
#B128A9 #B17528 #28B130 #2864B1
square
#B128A9 #B17528 #28B130 #2864B1
split-complementary
#B128A9 #64B128 #28B175
monochromatic
#4D114A #7F1D79 #B128A9 #D442CC #E074D9

Accessibility & contrast

On white

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

On black

3.75
#B128A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B128A9#FFFFFF#000000##FFFFFF
##B128A91.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAC
Deuteranopia (green-blind)
#546EA6
Tritanopia (blue-blind)
#B83B68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b128a9;
/* rgb */ color: rgb(177, 40, 169);
/* oklch */ color: oklch(54.5% 0.218 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc72c3',
    500: '#b128a9',
    950: '#000000',
  },
}
SCSS
$custom: #b128a9;
$custom-light: #cc72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b128a9",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 303.504,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.21802,
    "h": 330.7
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#B128A9
secondary
#6EC773
accent
#E64B42
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B128A9

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

Preview Lab → · Contrast checker → · Palette generator →

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