#B128A5#B128A5

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

Color values

HEX#B128A5
RGBrgb(177, 40, 165)
HSLhsl(305, 63%, 43%)
HSVhsv(305, 77%, 69%)
CMYKcmyk(0%, 77.4%, 6.8%, 30.6%)
CIE-LABlab(43.63, 66.22, -36.58)
CIE-LCHlch(43.63, 75.65, 331.09°)
OKLaboklab(54.26% 0.1901 -0.1007)
OKLCHoklch(54.26% 0.215 332.1)
XYZxyz(25.6819, 13.5835, 36.8593)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128A5 #28B134
analogous
#7828B1 #B128A5 #B12861
triadic
#B128A5 #A5B128 #28A5B1
tetradic
#B128A5 #B17828 #28B134 #2861B1
square
#B128A5 #B17828 #28B134 #2861B1
split-complementary
#B128A5 #61B128 #28B178
monochromatic
#4D1148 #7F1D76 #B128A5 #D442C7 #E074D6

Accessibility & contrast

On white

5.65
#B128A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B128A5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128A5#FFFFFF#000000##FFFFFF
##B128A51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA8
Deuteranopia (green-blind)
#566EA2
Tritanopia (blue-blind)
#B93965
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b128a5;
/* rgb */ color: rgb(177, 40, 165);
/* oklch */ color: oklch(54.3% 0.215 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c0',
    500: '#b128a5',
    950: '#000000',
  },
}
SCSS
$custom: #b128a5;
$custom-light: #cc72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b128a5",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 305.255,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.21515,
    "h": 332.1
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#B128A5
secondary
#6EC776
accent
#E65042
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B128A5

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

Preview Lab → · Contrast checker → · Palette generator →

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