#A02FA9#A02FA9

#A02FA9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.203 H 324.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A02FA9
RGBrgb(160, 47, 169)
HSLhsl(296, 56%, 42%)
HSVhsv(296, 72%, 66%)
CMYKcmyk(5.3%, 72.2%, 0%, 33.7%)
CIE-LABlab(41.80, 60.95, -42.04)
CIE-LCHlch(41.80, 74.04, 325.41°)
OKLaboklab(52.48% 0.1656 -0.117)
OKLCHoklch(52.48% 0.203 324.8)
XYZxyz(22.6746, 12.3726, 38.7223)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA9 #38A92F
analogous
#632FA9 #A02FA9 #A92F75
triadic
#A02FA9 #A9A02F #2FA9A0
tetradic
#A02FA9 #A9632F #38A92F #2F75A9
square
#A02FA9 #A9632F #38A92F #2F75A9
split-complementary
#A02FA9 #75A92F #2FA963
monochromatic
#451449 #732279 #A02FA9 #C349CC #D379DA

Accessibility & contrast

On white

6.04
#A02FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A02FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA9#FFFFFF#000000##FFFFFF
##A02FA91.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075AAC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#A34469
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02fa9;
/* rgb */ color: rgb(160, 47, 169);
/* oklch */ color: oklch(52.5% 0.203 324.8);
Tailwind
colors: {
  custom: {
    50: '#c073c3',
    500: '#a02fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa9;
$custom-light: #c073c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa9",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 295.574,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52483,
    "c": 0.20277,
    "h": 324.8
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#A02FA9
secondary
#78C272
accent
#E04853
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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