#A022A2#A022A2

#A022A2 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.210 H 327.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A022A2
RGBrgb(160, 34, 162)
HSLhsl(299, 65%, 38%)
HSVhsv(299, 79%, 64%)
CMYKcmyk(1.2%, 79%, 0%, 36.5%)
CIE-LABlab(39.96, 63.86, -40.79)
CIE-LCHlch(39.96, 75.78, 327.44°)
OKLaboklab(51.04% 0.1773 -0.1133)
OKLCHoklch(51.04% 0.21 327.4)
XYZxyz(21.5905, 11.2279, 35.2054)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A022A2 #24A222
analogous
#6022A2 #A022A2 #A22264
triadic
#A022A2 #A2A022 #22A2A0
tetradic
#A022A2 #A26022 #24A222 #2264A2
square
#A022A2 #A26022 #24A222 #2264A2
split-complementary
#A022A2 #64A222 #22A260
monochromatic
#3C0D3D #6E176F #A022A2 #D12ED3 #DC61DE

Accessibility & contrast

On white

6.47
#A022A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A022A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A022A2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A022A2#FFFFFF#000000##FFFFFF
##A022A21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#A53962
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a022a2;
/* rgb */ color: rgb(160, 34, 162);
/* oklch */ color: oklch(51.0% 0.210 327.4);
Tailwind
colors: {
  custom: {
    50: '#c06dbe',
    500: '#a022a2',
    950: '#000000',
  },
}
SCSS
$custom: #a022a2;
$custom-light: #c06dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a022a2",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 299.063,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51039,
    "c": 0.2104,
    "h": 327.4
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#A022A2
secondary
#5FC35D
accent
#E84042
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A022A2

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

Preview Lab → · Contrast checker → · Palette generator →

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