#A128A6#A128A6

#A128A6 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.208 H 326.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A128A6
RGBrgb(161, 40, 166)
HSLhsl(298, 61%, 40%)
HSVhsv(298, 76%, 65%)
CMYKcmyk(3%, 75.9%, 0%, 34.9%)
CIE-LABlab(40.98, 62.98, -41.56)
CIE-LCHlch(40.98, 75.45, 326.58°)
OKLaboklab(51.87% 0.1733 -0.1155)
OKLCHoklch(51.87% 0.208 326.3)
XYZxyz(22.3392, 11.8494, 37.1795)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128A6 #2DA628
analogous
#6228A6 #A128A6 #A6286C
triadic
#A128A6 #A6A128 #28A6A1
tetradic
#A128A6 #A66228 #2DA628 #286CA6
square
#A128A6 #A66228 #2DA628 #286CA6
split-complementary
#A128A6 #6CA628 #28A662
monochromatic
#411043 #711C75 #A128A6 #CA3BD0 #D76DDC

Accessibility & contrast

On white

6.23
#A128A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A128A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128A6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128A6#FFFFFF#000000##FFFFFF
##A128A61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#A53E66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a128a6;
/* rgb */ color: rgb(161, 40, 166);
/* oklch */ color: oklch(51.9% 0.208 326.3);
Tailwind
colors: {
  custom: {
    50: '#c170c1',
    500: '#a128a6',
    950: '#000000',
  },
}
SCSS
$custom: #a128a6;
$custom-light: #c170c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a128a6",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 297.619,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.20828,
    "h": 326.3
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#A128A6
secondary
#6BC267
accent
#E4444A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A128A6

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

Preview Lab → · Contrast checker → · Palette generator →

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