#A1229A#A1229A

#A1229A is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.205 H 330.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A1229A
RGBrgb(161, 34, 154)
HSLhsl(303, 65%, 38%)
HSVhsv(303, 79%, 63%)
CMYKcmyk(0%, 78.9%, 4.3%, 36.9%)
CIE-LABlab(39.67, 62.79, -36.41)
CIE-LCHlch(39.67, 72.58, 329.89°)
OKLaboklab(50.72% 0.1785 -0.1005)
OKLCHoklch(50.72% 0.205 330.6)
XYZxyz(21.1027, 11.0559, 31.5882)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1229A #22A129
analogous
#6822A1 #A1229A #A1225A
triadic
#A1229A #9AA122 #229AA1
tetradic
#A1229A #A16822 #22A129 #225AA1
square
#A1229A #A16822 #22A129 #225AA1
split-complementary
#A1229A #5AA122 #22A168
monochromatic
#3C0D39 #6E176A #A1229A #D32DCA #DD60D7

Accessibility & contrast

On white

6.54
#A1229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A1229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1229A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1229A#FFFFFF#000000##FFFFFF
##A1229A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539D
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#A7345E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1229a;
/* rgb */ color: rgb(161, 34, 154);
/* oklch */ color: oklch(50.7% 0.205 330.6);
Tailwind
colors: {
  custom: {
    50: '#c16db8',
    500: '#a1229a',
    950: '#000000',
  },
}
SCSS
$custom: #a1229a;
$custom-light: #c16db8;
$custom-dark: #000000;
JSON
{
  "hex": "#a1229a",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 303.307,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.2049,
    "h": 330.6
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#A1229A
secondary
#5DC262
accent
#E84940
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A1229A

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

Preview Lab → · Contrast checker → · Palette generator →

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