#A02AA5#A02AA5

#A02AA5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.205 H 326.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A02AA5
RGBrgb(160, 42, 165)
HSLhsl(298, 59%, 41%)
HSVhsv(298, 75%, 65%)
CMYKcmyk(3%, 74.5%, 0%, 35.3%)
CIE-LABlab(40.97, 61.96, -40.97)
CIE-LCHlch(40.97, 74.28, 326.52°)
OKLaboklab(51.82% 0.1704 -0.1139)
OKLCHoklch(51.82% 0.205 326.3)
XYZxyz(22.1163, 11.8476, 36.7120)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AA5 #2FA52A
analogous
#622AA5 #A02AA5 #A52A6C
triadic
#A02AA5 #A5A02A #2AA5A0
tetradic
#A02AA5 #A5622A #2FA52A #2A6CA5
square
#A02AA5 #A5622A #2FA52A #2A6CA5
split-complementary
#A02AA5 #6CA52A #2AA562
monochromatic
#411143 #711E74 #A02AA5 #C83ECE #D66FDA

Accessibility & contrast

On white

6.23
#A02AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A02AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AA5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AA5#FFFFFF#000000##FFFFFF
##A02AA51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A8
Deuteranopia (green-blind)
#4766A2
Tritanopia (blue-blind)
#A43F66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02aa5;
/* rgb */ color: rgb(160, 42, 165);
/* oklch */ color: oklch(51.8% 0.205 326.3);
Tailwind
colors: {
  custom: {
    50: '#c070c0',
    500: '#a02aa5',
    950: '#000000',
  },
}
SCSS
$custom: #a02aa5;
$custom-light: #c070c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aa5",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 297.561,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.20498,
    "h": 326.3
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#A02AA5
secondary
#6DC169
accent
#E3454C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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