#A128AA#A128AA

#A128AA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.211 H 325.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A128AA
RGBrgb(161, 40, 170)
HSLhsl(296, 62%, 41%)
HSVhsv(296, 76%, 67%)
CMYKcmyk(5.3%, 76.5%, 0%, 33.3%)
CIE-LABlab(41.21, 63.66, -43.56)
CIE-LCHlch(41.21, 77.14, 325.62°)
OKLaboklab(52.11% 0.1731 -0.1214)
OKLCHoklch(52.11% 0.211 325)
XYZxyz(22.7119, 11.9984, 39.1421)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128AA #31AA28
analogous
#6028AA #A128AA #AA2872
triadic
#A128AA #AAA128 #28AAA1
tetradic
#A128AA #AA6028 #31AA28 #2872AA
square
#A128AA #AA6028 #31AA28 #2872AA
split-complementary
#A128AA #72AA28 #28AA60
monochromatic
#431147 #721C78 #A128AA #C73ED2 #D66FDD

Accessibility & contrast

On white

6.18
#A128AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A128AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128AA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128AA#FFFFFF#000000##FFFFFF
##A128AA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#A54068
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a128aa;
/* rgb */ color: rgb(161, 40, 170);
/* oklch */ color: oklch(52.1% 0.211 325.0);
Tailwind
colors: {
  custom: {
    50: '#c170c4',
    500: '#a128aa',
    950: '#000000',
  },
}
SCSS
$custom: #a128aa;
$custom-light: #c170c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a128aa",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 295.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.21141,
    "h": 325
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#A128AA
secondary
#70C46A
accent
#E5434E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A128AA

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

Preview Lab → · Contrast checker → · Palette generator →

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