#A022A8#A022A8

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

Color values

HEX#A022A8
RGBrgb(160, 34, 168)
HSLhsl(296, 66%, 40%)
HSVhsv(296, 80%, 66%)
CMYKcmyk(4.8%, 79.8%, 0%, 34.1%)
CIE-LABlab(40.32, 64.86, -43.80)
CIE-LCHlch(40.32, 78.27, 325.97°)
OKLaboklab(51.41% 0.1769 -0.1221)
OKLCHoklch(51.41% 0.215 325.4)
XYZxyz(22.1366, 11.4463, 38.0816)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A022A8 #2AA822
analogous
#5D22A8 #A022A8 #A8226D
triadic
#A022A8 #A8A022 #22A8A0
tetradic
#A022A8 #A85D22 #2AA822 #226DA8
square
#A022A8 #A85D22 #2AA822 #226DA8
split-complementary
#A022A8 #6DA822 #22A85D
monochromatic
#3F0D42 #701875 #A022A8 #CC32D5 #D865E0

Accessibility & contrast

On white

6.38
#A022A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A022A8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A022A8#FFFFFF#000000##FFFFFF
##A022A81.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#A43C66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a022a8;
/* rgb */ color: rgb(160, 34, 168);
/* oklch */ color: oklch(51.4% 0.215 325.4);
Tailwind
colors: {
  custom: {
    50: '#c06ec2',
    500: '#a022a8',
    950: '#000000',
  },
}
SCSS
$custom: #a022a8;
$custom-light: #c06ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a022a8",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 296.418,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.21497,
    "h": 325.4
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#A022A8
secondary
#67C561
accent
#E93F49
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A022A8

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

Preview Lab → · Contrast checker → · Palette generator →

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