#A128A0#A128A0

#A128A0 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.204 H 328.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A128A0
RGBrgb(161, 40, 160)
HSLhsl(300, 60%, 39%)
HSVhsv(300, 75%, 63%)
CMYKcmyk(0%, 75.2%, 0.6%, 36.9%)
CIE-LABlab(40.63, 61.98, -38.51)
CIE-LCHlch(40.63, 72.97, 328.14°)
OKLaboklab(51.51% 0.1734 -0.1067)
OKLCHoklch(51.51% 0.204 328.4)
XYZxyz(21.8017, 11.6343, 34.3483)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128A0 #28A129
analogous
#6628A1 #A128A0 #A12864
triadic
#A128A0 #A0A128 #28A0A1
tetradic
#A128A0 #A16628 #28A129 #2864A1
square
#A128A0 #A16628 #28A129 #2864A1
split-complementary
#A128A0 #64A128 #28A166
monochromatic
#3F103F #701C6F #A128A0 #CE39CC #DA6AD9

Accessibility & contrast

On white

6.31
#A128A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A128A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128A0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128A0#FFFFFF#000000##FFFFFF
##A128A01.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A3
Deuteranopia (green-blind)
#4A659D
Tritanopia (blue-blind)
#A63B62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a128a0;
/* rgb */ color: rgb(161, 40, 160);
/* oklch */ color: oklch(51.5% 0.204 328.4);
Tailwind
colors: {
  custom: {
    50: '#c170bc',
    500: '#a128a0',
    950: '#000000',
  },
}
SCSS
$custom: #a128a0;
$custom-light: #c170bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a128a0",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 300.496,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.20361,
    "h": 328.4
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#A128A0
secondary
#65C065
accent
#E34644
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A128A0

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

Preview Lab → · Contrast checker → · Palette generator →

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