#A128C9#A128C9

#A128C9 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.2% C 0.237 H 315.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A128C9
RGBrgb(161, 40, 201)
HSLhsl(285, 67%, 47%)
HSVhsv(285, 80%, 79%)
CMYKcmyk(19.9%, 80.1%, 0%, 21.2%)
CIE-LABlab(43.23, 69.26, -58.54)
CIE-LCHlch(43.23, 90.69, 319.79°)
OKLaboklab(54.18% 0.1693 -0.1653)
OKLCHoklch(54.18% 0.237 315.7)
XYZxyz(25.9977, 13.3127, 56.4472)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128C9 #50C928
analogous
#5028C9 #A128C9 #C928A1
triadic
#A128C9 #C9A128 #28C9A1
tetradic
#A128C9 #C95028 #50C928 #28A1C9
square
#A128C9 #C95028 #50C928 #28A1C9
split-complementary
#A128C9 #A1C928 #28C950
monochromatic
#4F1463 #781E96 #A128C9 #BA52DD #CE85E7

Accessibility & contrast

On white

5.73
#A128C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A128C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128C9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128C9#FFFFFF#000000##FFFFFF
##A128C91.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#2269C6
Tritanopia (blue-blind)
#9E4F7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a128c9;
/* rgb */ color: rgb(161, 40, 201);
/* oklch */ color: oklch(54.2% 0.237 315.7);
Tailwind
colors: {
  custom: {
    50: '#c271da',
    500: '#a128c9',
    950: '#000000',
  },
}
SCSS
$custom: #a128c9;
$custom-light: #c271da;
$custom-dark: #000000;
JSON
{
  "hex": "#a128c9",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 201
  },
  "hsl": {
    "h": 285.093,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.23657,
    "h": 315.7
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#A128C9
secondary
#92D07D
accent
#EA3E69
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A128C9

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

Preview Lab → · Contrast checker → · Palette generator →

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