#A128A2#A128A2

#A128A2 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 327.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A128A2
RGBrgb(161, 40, 162)
HSLhsl(300, 60%, 40%)
HSVhsv(300, 75%, 64%)
CMYKcmyk(0.6%, 75.3%, 0%, 36.5%)
CIE-LABlab(40.74, 62.31, -39.53)
CIE-LCHlch(40.74, 73.79, 327.61°)
OKLaboklab(51.63% 0.1734 -0.1096)
OKLCHoklch(51.63% 0.205 327.7)
XYZxyz(21.9780, 11.7049, 35.2771)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128A2 #29A228
analogous
#6428A2 #A128A2 #A22866
triadic
#A128A2 #A2A128 #28A2A1
tetradic
#A128A2 #A26428 #29A228 #2866A2
square
#A128A2 #A26428 #29A228 #2866A2
split-complementary
#A128A2 #66A228 #28A264
monochromatic
#3F1040 #701C71 #A128A2 #CD39CE #D96ADA

Accessibility & contrast

On white

6.29
#A128A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A128A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128A2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128A2#FFFFFF#000000##FFFFFF
##A128A21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A5
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#A63C64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a128a2;
/* rgb */ color: rgb(161, 40, 162);
/* oklch */ color: oklch(51.6% 0.205 327.7);
Tailwind
colors: {
  custom: {
    50: '#c170be',
    500: '#a128a2',
    950: '#000000',
  },
}
SCSS
$custom: #a128a2;
$custom-light: #c170be;
$custom-dark: #000000;
JSON
{
  "hex": "#a128a2",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 299.508,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.20516,
    "h": 327.7
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#A128A2
secondary
#66C165
accent
#E44446
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A128A2

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

Preview Lab → · Contrast checker → · Palette generator →

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