#A128A3#A128A3

#A128A3 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.206 H 327.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A128A3
RGBrgb(161, 40, 163)
HSLhsl(299, 61%, 40%)
HSVhsv(299, 75%, 64%)
CMYKcmyk(1.2%, 75.5%, 0%, 36.1%)
CIE-LABlab(40.80, 62.48, -40.04)
CIE-LCHlch(40.80, 74.21, 327.35°)
OKLaboklab(51.69% 0.1734 -0.1111)
OKLCHoklch(51.69% 0.206 327.3)
XYZxyz(22.0673, 11.7406, 35.7471)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128A3 #2AA328
analogous
#6328A3 #A128A3 #A32868
triadic
#A128A3 #A3A128 #28A3A1
tetradic
#A128A3 #A36328 #2AA328 #2868A3
square
#A128A3 #A36328 #2AA328 #2868A3
split-complementary
#A128A3 #68A328 #28A363
monochromatic
#401041 #701C72 #A128A3 #CC3ACF #D96BDB

Accessibility & contrast

On white

6.27
#A128A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A128A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128A3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128A3#FFFFFF#000000##FFFFFF
##A128A31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A6
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#A63C64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a128a3;
/* rgb */ color: rgb(161, 40, 163);
/* oklch */ color: oklch(51.7% 0.206 327.3);
Tailwind
colors: {
  custom: {
    50: '#c170bf',
    500: '#a128a3',
    950: '#000000',
  },
}
SCSS
$custom: #a128a3;
$custom-light: #c170bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a128a3",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 299.024,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.20593,
    "h": 327.3
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#A128A3
secondary
#67C166
accent
#E44447
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A128A3

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

Preview Lab → · Contrast checker → · Palette generator →

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