#B128AC#B128AC

#B128AC is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.220 H 329.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B128AC
RGBrgb(177, 40, 172)
HSLhsl(302, 63%, 43%)
HSVhsv(302, 77%, 69%)
CMYKcmyk(0%, 77.4%, 2.8%, 30.6%)
CIE-LABlab(44.01, 67.30, -40.14)
CIE-LCHlch(44.01, 78.36, 329.19°)
OKLaboklab(54.66% 0.1902 -0.111)
OKLCHoklch(54.66% 0.22 329.7)
XYZxyz(26.3365, 13.8453, 40.3070)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128AC #28B12D
analogous
#7228B1 #B128AC #B12867
triadic
#B128AC #ACB128 #28ACB1
tetradic
#B128AC #B17228 #28B12D #2867B1
square
#B128AC #B17228 #28B12D #2867B1
split-complementary
#B128AC #67B128 #28B172
monochromatic
#4D114B #7F1D7B #B128AC #D442CF #E074DC

Accessibility & contrast

On white

5.57
#B128AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B128AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B128AC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128AC#FFFFFF#000000##FFFFFF
##B128AC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAF
Deuteranopia (green-blind)
#536EA9
Tritanopia (blue-blind)
#B83D69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b128ac;
/* rgb */ color: rgb(177, 40, 172);
/* oklch */ color: oklch(54.7% 0.220 329.7);
Tailwind
colors: {
  custom: {
    50: '#cc72c5',
    500: '#b128ac',
    950: '#000000',
  },
}
SCSS
$custom: #b128ac;
$custom-light: #cc72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b128ac",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 302.19,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.22021,
    "h": 329.7
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#B128AC
secondary
#6EC771
accent
#E64842
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B128AC

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

Preview Lab → · Contrast checker → · Palette generator →

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