#B128AA#B128AA

#B128AA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.219 H 330.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B128AA
RGBrgb(177, 40, 170)
HSLhsl(303, 63%, 43%)
HSVhsv(303, 77%, 69%)
CMYKcmyk(0%, 77.4%, 4%, 30.6%)
CIE-LABlab(43.90, 66.99, -39.13)
CIE-LCHlch(43.90, 77.58, 329.71°)
OKLaboklab(54.54% 0.1902 -0.1081)
OKLCHoklch(54.54% 0.219 330.4)
XYZxyz(26.1459, 13.7691, 39.3031)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128AA #28B12F
analogous
#7428B1 #B128AA #B12865
triadic
#B128AA #AAB128 #28AAB1
tetradic
#B128AA #B17428 #28B12F #2865B1
square
#B128AA #B17428 #28B12F #2865B1
split-complementary
#B128AA #65B128 #28B174
monochromatic
#4D114A #7F1D7A #B128AA #D442CD #E074DA

Accessibility & contrast

On white

5.59
#B128AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B128AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B128AA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128AA#FFFFFF#000000##FFFFFF
##B128AA1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#B83C68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b128aa;
/* rgb */ color: rgb(177, 40, 170);
/* oklch */ color: oklch(54.5% 0.219 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c4',
    500: '#b128aa',
    950: '#000000',
  },
}
SCSS
$custom: #b128aa;
$custom-light: #cc72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b128aa",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 303.066,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.21876,
    "h": 330.4
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#B128AA
secondary
#6EC772
accent
#E64A42
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B128AA

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

Preview Lab → · Contrast checker → · Palette generator →

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