#A122A6#A122A6

#A122A6 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.214 H 326.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A122A6
RGBrgb(161, 34, 166)
HSLhsl(298, 66%, 39%)
HSVhsv(298, 80%, 65%)
CMYKcmyk(3%, 79.5%, 0%, 34.9%)
CIE-LABlab(40.37, 64.73, -42.52)
CIE-LCHlch(40.37, 77.44, 326.70°)
OKLaboklab(51.44% 0.1782 -0.1183)
OKLCHoklch(51.44% 0.214 326.4)
XYZxyz(22.1525, 11.4759, 37.1173)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A122A6 #27A622
analogous
#5F22A6 #A122A6 #A62269
triadic
#A122A6 #A6A122 #22A6A1
tetradic
#A122A6 #A65F22 #27A622 #2269A6
square
#A122A6 #A65F22 #27A622 #2269A6
split-complementary
#A122A6 #69A622 #22A65F
monochromatic
#3E0D40 #701873 #A122A6 #CE30D5 #DA63DF

Accessibility & contrast

On white

6.37
#A122A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A122A6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A122A6#FFFFFF#000000##FFFFFF
##A122A61.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4464A3
Tritanopia (blue-blind)
#A53B64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a122a6;
/* rgb */ color: rgb(161, 34, 166);
/* oklch */ color: oklch(51.4% 0.214 326.4);
Tailwind
colors: {
  custom: {
    50: '#c16ec1',
    500: '#a122a6',
    950: '#000000',
  },
}
SCSS
$custom: #a122a6;
$custom-light: #c16ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a122a6",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 297.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.21387,
    "h": 326.4
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#A122A6
secondary
#63C45F
accent
#E93F45
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A122A6

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

Preview Lab → · Contrast checker → · Palette generator →

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