#A022A6#A022A6

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

Color values

HEX#A022A6
RGBrgb(160, 34, 166)
HSLhsl(297, 66%, 39%)
HSVhsv(297, 80%, 65%)
CMYKcmyk(3.6%, 79.5%, 0%, 34.9%)
CIE-LABlab(40.20, 64.53, -42.80)
CIE-LCHlch(40.20, 77.43, 326.44°)
OKLaboklab(51.29% 0.1771 -0.1192)
OKLCHoklch(51.29% 0.213 326.1)
XYZxyz(21.9517, 11.3723, 37.1079)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A022A6 #28A622
analogous
#5E22A6 #A022A6 #A6226A
triadic
#A022A6 #A6A022 #22A6A0
tetradic
#A022A6 #A65E22 #28A622 #226AA6
square
#A022A6 #A65E22 #28A622 #226AA6
split-complementary
#A022A6 #6AA622 #22A65E
monochromatic
#3E0D40 #6F1873 #A022A6 #CD30D5 #D963DF

Accessibility & contrast

On white

6.41
#A022A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A022A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A022A6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A022A6#FFFFFF#000000##FFFFFF
##A022A61.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a022a6;
/* rgb */ color: rgb(160, 34, 166);
/* oklch */ color: oklch(51.3% 0.213 326.1);
Tailwind
colors: {
  custom: {
    50: '#c06dc1',
    500: '#a022a6',
    950: '#000000',
  },
}
SCSS
$custom: #a022a6;
$custom-light: #c06dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a022a6",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 297.273,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.21343,
    "h": 326.1
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#A022A6
secondary
#64C45F
accent
#E93F47
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A022A6

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

Preview Lab → · Contrast checker → · Palette generator →

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