#A02AA6#A02AA6

#A02AA6 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.206 H 325.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A02AA6
RGBrgb(160, 42, 166)
HSLhsl(297, 60%, 41%)
HSVhsv(297, 75%, 65%)
CMYKcmyk(3.6%, 74.7%, 0%, 34.9%)
CIE-LABlab(41.03, 62.13, -41.48)
CIE-LCHlch(41.03, 74.70, 326.27°)
OKLaboklab(51.88% 0.1704 -0.1153)
OKLCHoklch(51.88% 0.206 325.9)
XYZxyz(22.2076, 11.8842, 37.1932)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AA6 #30A62A
analogous
#622AA6 #A02AA6 #A62A6E
triadic
#A02AA6 #A6A02A #2AA6A0
tetradic
#A02AA6 #A6622A #30A62A #2A6EA6
square
#A02AA6 #A6622A #30A62A #2A6EA6
split-complementary
#A02AA6 #6EA62A #2AA662
monochromatic
#421144 #711E75 #A02AA6 #C73FCE #D670DB

Accessibility & contrast

On white

6.22
#A02AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A02AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AA6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AA6#FFFFFF#000000##FFFFFF
##A02AA61.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4666A3
Tritanopia (blue-blind)
#A43F66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02aa6;
/* rgb */ color: rgb(160, 42, 166);
/* oklch */ color: oklch(51.9% 0.206 325.9);
Tailwind
colors: {
  custom: {
    50: '#c071c1',
    500: '#a02aa6',
    950: '#000000',
  },
}
SCSS
$custom: #a02aa6;
$custom-light: #c071c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aa6",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 297.097,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.20578,
    "h": 325.9
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#A02AA6
secondary
#6EC26A
accent
#E3454D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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