#A128A8#A128A8

#A128A8 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.210 H 325.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A128A8
RGBrgb(161, 40, 168)
HSLhsl(297, 62%, 41%)
HSVhsv(297, 76%, 66%)
CMYKcmyk(4.2%, 76.2%, 0%, 34.1%)
CIE-LABlab(41.09, 63.32, -42.56)
CIE-LCHlch(41.09, 76.29, 326.09°)
OKLaboklab(51.99% 0.1732 -0.1185)
OKLCHoklch(51.99% 0.21 325.6)
XYZxyz(22.5241, 11.9233, 38.1533)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128A8 #2FA828
analogous
#6128A8 #A128A8 #A8286F
triadic
#A128A8 #A8A128 #28A8A1
tetradic
#A128A8 #A86128 #2FA828 #286FA8
square
#A128A8 #A86128 #2FA828 #286FA8
split-complementary
#A128A8 #6FA828 #28A861
monochromatic
#421045 #721C77 #A128A8 #C93DD1 #D66EDC

Accessibility & contrast

On white

6.20
#A128A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A128A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128A8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128A8#FFFFFF#000000##FFFFFF
##A128A81.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#A53F67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a128a8;
/* rgb */ color: rgb(161, 40, 168);
/* oklch */ color: oklch(52.0% 0.210 325.6);
Tailwind
colors: {
  custom: {
    50: '#c170c2',
    500: '#a128a8',
    950: '#000000',
  },
}
SCSS
$custom: #a128a8;
$custom-light: #c170c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a128a8",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 296.719,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.20984,
    "h": 325.6
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#A128A8
secondary
#6EC369
accent
#E5434C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A128A8

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

Preview Lab → · Contrast checker → · Palette generator →

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