#B128A6#B128A6

#B128A6 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.216 H 331.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B128A6
RGBrgb(177, 40, 166)
HSLhsl(305, 63%, 43%)
HSVhsv(305, 77%, 69%)
CMYKcmyk(0%, 77.4%, 6.2%, 30.6%)
CIE-LABlab(43.68, 66.37, -37.09)
CIE-LCHlch(43.68, 76.03, 330.80°)
OKLaboklab(54.32% 0.1902 -0.1022)
OKLCHoklch(54.32% 0.216 331.8)
XYZxyz(25.7732, 13.6200, 37.3405)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128A6 #28B133
analogous
#7828B1 #B128A6 #B12861
triadic
#B128A6 #A6B128 #28A6B1
tetradic
#B128A6 #B17828 #28B133 #2861B1
square
#B128A6 #B17828 #28B133 #2861B1
split-complementary
#B128A6 #61B128 #28B178
monochromatic
#4D1148 #7F1D77 #B128A6 #D442C9 #E074D7

Accessibility & contrast

On white

5.64
#B128A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B128A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B128A6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128A6#FFFFFF#000000##FFFFFF
##B128A61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5BA9
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#B83966
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b128a6;
/* rgb */ color: rgb(177, 40, 166);
/* oklch */ color: oklch(54.3% 0.216 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc72c1',
    500: '#b128a6',
    950: '#000000',
  },
}
SCSS
$custom: #b128a6;
$custom-light: #cc72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b128a6",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 304.818,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.21586,
    "h": 331.8
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#B128A6
secondary
#6EC775
accent
#E64F42
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B128A6

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

Preview Lab → · Contrast checker → · Palette generator →

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