#A422A8#A422A8

#A422A8 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.217 H 326.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A422A8
RGBrgb(164, 34, 168)
HSLhsl(298, 66%, 40%)
HSVhsv(298, 80%, 66%)
CMYKcmyk(2.4%, 79.8%, 0%, 34.1%)
CIE-LABlab(41.00, 65.65, -42.68)
CIE-LCHlch(41.00, 78.31, 326.97°)
OKLaboklab(52.02% 0.1813 -0.1187)
OKLCHoklch(52.02% 0.217 326.8)
XYZxyz(22.9494, 11.8654, 38.1197)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A422A8 #26A822
analogous
#6122A8 #A422A8 #A82269
triadic
#A422A8 #A8A422 #22A8A4
tetradic
#A422A8 #A86122 #26A822 #2269A8
square
#A422A8 #A86122 #26A822 #2269A8
split-complementary
#A422A8 #69A822 #22A861
monochromatic
#410D42 #721875 #A422A8 #D132D5 #DC65E0

Accessibility & contrast

On white

6.23
#A422A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A422A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A422A8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A422A8#FFFFFF#000000##FFFFFF
##A422A81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#A93B66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a422a8;
/* rgb */ color: rgb(164, 34, 168);
/* oklch */ color: oklch(52.0% 0.217 326.8);
Tailwind
colors: {
  custom: {
    50: '#c36ec2',
    500: '#a422a8',
    950: '#000000',
  },
}
SCSS
$custom: #a422a8;
$custom-light: #c36ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a422a8",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 298.209,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.21668,
    "h": 326.8
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#A422A8
secondary
#64C561
accent
#E93F44
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A422A8

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

Preview Lab → · Contrast checker → · Palette generator →

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