#A128A4#A128A4

#A128A4 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.207 H 327.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A128A4
RGBrgb(161, 40, 164)
HSLhsl(299, 61%, 40%)
HSVhsv(299, 76%, 64%)
CMYKcmyk(1.8%, 75.6%, 0%, 35.7%)
CIE-LABlab(40.86, 62.64, -40.55)
CIE-LCHlch(40.86, 74.62, 327.09°)
OKLaboklab(51.75% 0.1734 -0.1126)
OKLCHoklch(51.75% 0.207 327)
XYZxyz(22.1572, 11.7766, 36.2208)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128A4 #2BA428
analogous
#6328A4 #A128A4 #A42869
triadic
#A128A4 #A4A128 #28A4A1
tetradic
#A128A4 #A46328 #2BA428 #2869A4
square
#A128A4 #A46328 #2BA428 #2869A4
split-complementary
#A128A4 #69A428 #28A463
monochromatic
#401042 #711C73 #A128A4 #CB3ACF #D86BDB

Accessibility & contrast

On white

6.26
#A128A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A128A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128A4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128A4#FFFFFF#000000##FFFFFF
##A128A41.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A7
Deuteranopia (green-blind)
#4866A1
Tritanopia (blue-blind)
#A63D65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a128a4;
/* rgb */ color: rgb(161, 40, 164);
/* oklch */ color: oklch(51.7% 0.207 327.0);
Tailwind
colors: {
  custom: {
    50: '#c170bf',
    500: '#a128a4',
    950: '#000000',
  },
}
SCSS
$custom: #a128a4;
$custom-light: #c170bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a128a4",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 298.548,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.20672,
    "h": 327
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#A128A4
secondary
#69C166
accent
#E44448
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A128A4

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

Preview Lab → · Contrast checker → · Palette generator →

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