#A122A5#A122A5

#A122A5 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.213 H 326.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A122A5
RGBrgb(161, 34, 165)
HSLhsl(298, 66%, 39%)
HSVhsv(298, 79%, 65%)
CMYKcmyk(2.4%, 79.4%, 0%, 35.3%)
CIE-LABlab(40.31, 64.56, -42.02)
CIE-LCHlch(40.31, 77.03, 326.94°)
OKLaboklab(51.38% 0.1782 -0.1168)
OKLCHoklch(51.38% 0.213 326.7)
XYZxyz(22.0611, 11.4393, 36.6361)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A122A5 #26A522
analogous
#6022A5 #A122A5 #A52268
triadic
#A122A5 #A5A122 #22A5A1
tetradic
#A122A5 #A56022 #26A522 #2268A5
square
#A122A5 #A56022 #26A522 #2268A5
split-complementary
#A122A5 #68A522 #22A560
monochromatic
#3E0D40 #6F1872 #A122A5 #CF30D4 #DB63DF

Accessibility & contrast

On white

6.39
#A122A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A122A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A122A5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A122A5#FFFFFF#000000##FFFFFF
##A122A51.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#4564A2
Tritanopia (blue-blind)
#A63A64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a122a5;
/* rgb */ color: rgb(161, 34, 165);
/* oklch */ color: oklch(51.4% 0.213 326.7);
Tailwind
colors: {
  custom: {
    50: '#c16ec0',
    500: '#a122a5',
    950: '#000000',
  },
}
SCSS
$custom: #a122a5;
$custom-light: #c16ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a122a5",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 298.168,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51377,
    "c": 0.21311,
    "h": 326.7
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#A122A5
secondary
#62C45F
accent
#E93F44
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A122A5

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

Preview Lab → · Contrast checker → · Palette generator →

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