#A02AA9#A02AA9

#A02AA9 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.208 H 324.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A02AA9
RGBrgb(160, 42, 169)
HSLhsl(296, 60%, 41%)
HSVhsv(296, 75%, 66%)
CMYKcmyk(5.3%, 75.1%, 0%, 33.7%)
CIE-LABlab(41.21, 62.65, -42.99)
CIE-LCHlch(41.21, 75.98, 325.54°)
OKLaboklab(52.06% 0.1703 -0.1197)
OKLCHoklch(52.06% 0.208 324.9)
XYZxyz(22.4860, 11.9955, 38.6594)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AA9 #33A92A
analogous
#612AA9 #A02AA9 #A92A73
triadic
#A02AA9 #A9A02A #2AA9A0
tetradic
#A02AA9 #A9612A #33A92A #2A73A9
square
#A02AA9 #A9612A #33A92A #2A73A9
split-complementary
#A02AA9 #73A92A #2AA961
monochromatic
#431247 #721E78 #A02AA9 #C641D0 #D472DC

Accessibility & contrast

On white

6.18
#A02AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A02AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AA9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AA9#FFFFFF#000000##FFFFFF
##A02AA91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A34168
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02aa9;
/* rgb */ color: rgb(160, 42, 169);
/* oklch */ color: oklch(52.1% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#c071c3',
    500: '#a02aa9',
    950: '#000000',
  },
}
SCSS
$custom: #a02aa9;
$custom-light: #c071c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aa9",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 295.748,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.20817,
    "h": 324.9
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#A02AA9
secondary
#72C36C
accent
#E34450
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A02AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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