#A022A7#A022A7

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

Color values

HEX#A022A7
RGBrgb(160, 34, 167)
HSLhsl(297, 66%, 39%)
HSVhsv(297, 80%, 65%)
CMYKcmyk(4.2%, 79.6%, 0%, 34.5%)
CIE-LABlab(40.26, 64.69, -43.30)
CIE-LCHlch(40.26, 77.85, 326.20°)
OKLaboklab(51.35% 0.177 -0.1206)
OKLCHoklch(51.35% 0.214 325.7)
XYZxyz(22.0438, 11.4092, 37.5929)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A022A7 #29A722
analogous
#5E22A7 #A022A7 #A7226C
triadic
#A022A7 #A7A022 #22A7A0
tetradic
#A022A7 #A75E22 #29A722 #226CA7
square
#A022A7 #A75E22 #29A722 #226CA7
split-complementary
#A022A7 #6CA722 #22A75E
monochromatic
#3F0D41 #6F1874 #A022A7 #CC31D5 #D964DF

Accessibility & contrast

On white

6.40
#A022A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A022A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A022A7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A022A7#FFFFFF#000000##FFFFFF
##A022A71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#4264A4
Tritanopia (blue-blind)
#A43B65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a022a7;
/* rgb */ color: rgb(160, 34, 167);
/* oklch */ color: oklch(51.3% 0.214 325.7);
Tailwind
colors: {
  custom: {
    50: '#c06ec2',
    500: '#a022a7',
    950: '#000000',
  },
}
SCSS
$custom: #a022a7;
$custom-light: #c06ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a022a7",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 296.842,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.21421,
    "h": 325.7
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#A022A7
secondary
#65C560
accent
#E93F48
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A022A7

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

Preview Lab → · Contrast checker → · Palette generator →

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