#B128A3#B128A3

#B128A3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.214 H 332.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B128A3
RGBrgb(177, 40, 163)
HSLhsl(306, 63%, 43%)
HSVhsv(306, 77%, 69%)
CMYKcmyk(0%, 77.4%, 7.9%, 30.6%)
CIE-LABlab(43.52, 65.92, -35.55)
CIE-LCHlch(43.52, 74.89, 331.66°)
OKLaboklab(54.15% 0.1901 -0.0977)
OKLCHoklch(54.15% 0.214 332.8)
XYZxyz(25.5013, 13.5112, 35.9081)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128A3 #28B136
analogous
#7A28B1 #B128A3 #B1285F
triadic
#B128A3 #A3B128 #28A3B1
tetradic
#B128A3 #B17A28 #28B136 #285FB1
square
#B128A3 #B17A28 #28B136 #285FB1
split-complementary
#B128A3 #5FB128 #28B17A
monochromatic
#4D1147 #7F1D75 #B128A3 #D442C5 #E074D5

Accessibility & contrast

On white

5.67
#B128A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B128A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B128A3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128A3#FFFFFF#000000##FFFFFF
##B128A31.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA6
Deuteranopia (green-blind)
#576EA0
Tritanopia (blue-blind)
#B93864
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b128a3;
/* rgb */ color: rgb(177, 40, 163);
/* oklch */ color: oklch(54.2% 0.214 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc72be',
    500: '#b128a3',
    950: '#000000',
  },
}
SCSS
$custom: #b128a3;
$custom-light: #cc72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b128a3",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 306.131,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.21372,
    "h": 332.8
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#B128A3
secondary
#6EC777
accent
#E65242
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B128A3

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

Preview Lab → · Contrast checker → · Palette generator →

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