#B128A1#B128A1

#B128A1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.212 H 333.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B128A1
RGBrgb(177, 40, 161)
HSLhsl(307, 63%, 43%)
HSVhsv(307, 77%, 69%)
CMYKcmyk(0%, 77.4%, 9%, 30.6%)
CIE-LABlab(43.42, 65.62, -34.52)
CIE-LCHlch(43.42, 74.14, 332.25°)
OKLaboklab(54.04% 0.19 -0.0947)
OKLCHoklch(54.04% 0.212 333.5)
XYZxyz(25.3235, 13.4401, 34.9718)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128A1 #28B138
analogous
#7C28B1 #B128A1 #B1285D
triadic
#B128A1 #A1B128 #28A1B1
tetradic
#B128A1 #B17C28 #28B138 #285DB1
square
#B128A1 #B17C28 #28B138 #285DB1
split-complementary
#B128A1 #5DB128 #28B17C
monochromatic
#4D1146 #7F1D74 #B128A1 #D442C3 #E074D3

Accessibility & contrast

On white

5.69
#B128A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B128A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B128A1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128A1#FFFFFF#000000##FFFFFF
##B128A11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#B93763
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b128a1;
/* rgb */ color: rgb(177, 40, 161);
/* oklch */ color: oklch(54.0% 0.212 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc72bd',
    500: '#b128a1',
    950: '#000000',
  },
}
SCSS
$custom: #b128a1;
$custom-light: #cc72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b128a1",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 307.007,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.21231,
    "h": 333.5
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#B128A1
secondary
#6EC778
accent
#E65542
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B128A1

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

Preview Lab → · Contrast checker → · Palette generator →

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