#A128AC#A128AC

#A128AC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.213 H 324.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A128AC
RGBrgb(161, 40, 172)
HSLhsl(295, 62%, 42%)
HSVhsv(295, 77%, 67%)
CMYKcmyk(6.4%, 76.7%, 0%, 32.5%)
CIE-LABlab(41.33, 64.00, -44.56)
CIE-LCHlch(41.33, 77.99, 325.15°)
OKLaboklab(52.24% 0.173 -0.1243)
OKLCHoklch(52.24% 0.213 324.3)
XYZxyz(22.9025, 12.0747, 40.1461)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128AC #33AC28
analogous
#5F28AC #A128AC #AC2875
triadic
#A128AC #ACA128 #28ACA1
tetradic
#A128AC #AC5F28 #33AC28 #2875AC
square
#A128AC #AC5F28 #33AC28 #2875AC
split-complementary
#A128AC #75AC28 #28AC5F
monochromatic
#441149 #731C7A #A128AC #C63FD2 #D571DE

Accessibility & contrast

On white

6.15
#A128AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A128AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128AC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128AC#FFFFFF#000000##FFFFFF
##A128AC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#A44169
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a128ac;
/* rgb */ color: rgb(161, 40, 172);
/* oklch */ color: oklch(52.2% 0.213 324.3);
Tailwind
colors: {
  custom: {
    50: '#c170c5',
    500: '#a128ac',
    950: '#000000',
  },
}
SCSS
$custom: #a128ac;
$custom-light: #c170c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a128ac",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 295,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.213,
    "h": 324.3
  },
  "luminance": 0.12073
}

Semantic roles & 50–950 ramp

primary
#A128AC
secondary
#72C56B
accent
#E54250
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A128AC

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

Preview Lab → · Contrast checker → · Palette generator →

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