#A02AA7#A02AA7

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

Color values

HEX#A02AA7
RGBrgb(160, 42, 167)
HSLhsl(297, 60%, 41%)
HSVhsv(297, 75%, 65%)
CMYKcmyk(4.2%, 74.9%, 0%, 34.5%)
CIE-LABlab(41.09, 62.30, -41.98)
CIE-LCHlch(41.09, 75.13, 326.03°)
OKLaboklab(51.94% 0.1704 -0.1168)
OKLCHoklch(51.94% 0.207 325.6)
XYZxyz(22.2997, 11.9210, 37.6782)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AA7 #31A72A
analogous
#612AA7 #A02AA7 #A72A6F
triadic
#A02AA7 #A7A02A #2AA7A0
tetradic
#A02AA7 #A7612A #31A72A #2A6FA7
square
#A02AA7 #A7612A #31A72A #2A6FA7
split-complementary
#A02AA7 #6FA72A #2AA761
monochromatic
#421145 #711E76 #A02AA7 #C73FCF #D570DB

Accessibility & contrast

On white

6.21
#A02AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02AA7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AA7#FFFFFF#000000##FFFFFF
##A02AA71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#4666A4
Tritanopia (blue-blind)
#A44067
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02aa7;
/* rgb */ color: rgb(160, 42, 167);
/* oklch */ color: oklch(51.9% 0.207 325.6);
Tailwind
colors: {
  custom: {
    50: '#c071c2',
    500: '#a02aa7',
    950: '#000000',
  },
}
SCSS
$custom: #a02aa7;
$custom-light: #c071c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aa7",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 296.64,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51937,
    "c": 0.20657,
    "h": 325.6
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#A02AA7
secondary
#70C26B
accent
#E3454E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A02AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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