#B128AE#B128AE

#B128AE is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.222 H 329.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B128AE
RGBrgb(177, 40, 174)
HSLhsl(301, 63%, 43%)
HSVhsv(301, 77%, 69%)
CMYKcmyk(0%, 77.4%, 1.7%, 30.6%)
CIE-LABlab(44.12, 67.62, -41.15)
CIE-LCHlch(44.12, 79.15, 328.68°)
OKLaboklab(54.77% 0.1902 -0.1139)
OKLCHoklch(54.77% 0.222 329.1)
XYZxyz(26.5300, 13.9227, 41.3262)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128AE #28B12B
analogous
#7028B1 #B128AE #B12869
triadic
#B128AE #AEB128 #28AEB1
tetradic
#B128AE #B17028 #28B12B #2869B1
square
#B128AE #B17028 #28B12B #2869B1
split-complementary
#B128AE #69B128 #28B170
monochromatic
#4D114C #7F1D7D #B128AE #D442D1 #E074DD

Accessibility & contrast

On white

5.55
#B128AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B128AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B128AE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128AE#FFFFFF#000000##FFFFFF
##B128AE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085DB2
Deuteranopia (green-blind)
#516FAB
Tritanopia (blue-blind)
#B73E6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b128ae;
/* rgb */ color: rgb(177, 40, 174);
/* oklch */ color: oklch(54.8% 0.222 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c7',
    500: '#b128ae',
    950: '#000000',
  },
}
SCSS
$custom: #b128ae;
$custom-light: #cc72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b128ae",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 301.314,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.22168,
    "h": 329.1
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#B128AE
secondary
#6EC770
accent
#E64542
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B128AE

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

Preview Lab → · Contrast checker → · Palette generator →

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