#A128A1#A128A1

#A128A1 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.204 H 328.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A128A1
RGBrgb(161, 40, 161)
HSLhsl(300, 60%, 39%)
HSVhsv(300, 75%, 63%)
CMYKcmyk(0%, 75.2%, 0%, 36.9%)
CIE-LABlab(40.69, 62.14, -39.02)
CIE-LCHlch(40.69, 73.38, 327.87°)
OKLaboklab(51.57% 0.1734 -0.1082)
OKLCHoklch(51.57% 0.204 328)
XYZxyz(21.8895, 11.6695, 34.8108)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128A1 #28A128
analogous
#6528A1 #A128A1 #A12865
triadic
#A128A1 #A1A128 #28A1A1
tetradic
#A128A1 #A16528 #28A128 #2865A1
square
#A128A1 #A16528 #28A128 #2865A1
split-complementary
#A128A1 #65A128 #28A165
monochromatic
#3F103F #701C70 #A128A1 #CE39CE #DA6ADA

Accessibility & contrast

On white

6.30
#A128A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A128A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128A1
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128A1#FFFFFF#000000##FFFFFF
##A128A11.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C56A4
Deuteranopia (green-blind)
#4A659E
Tritanopia (blue-blind)
#A63B63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a128a1;
/* rgb */ color: rgb(161, 40, 161);
/* oklch */ color: oklch(51.6% 0.204 328.0);
Tailwind
colors: {
  custom: {
    50: '#c170bd',
    500: '#a128a1',
    950: '#000000',
  },
}
SCSS
$custom: #a128a1;
$custom-light: #c170bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a128a1",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 300,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.20438,
    "h": 328
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#A128A1
secondary
#65C065
accent
#E34444
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A128A1

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

Preview Lab → · Contrast checker → · Palette generator →

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