#A02FA6#A02FA6

#A02FA6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.200 H 325.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A02FA6
RGBrgb(160, 47, 166)
HSLhsl(297, 56%, 42%)
HSVhsv(297, 72%, 65%)
CMYKcmyk(3.6%, 71.7%, 0%, 34.9%)
CIE-LABlab(41.63, 60.43, -40.53)
CIE-LCHlch(41.63, 72.76, 326.15°)
OKLaboklab(52.3% 0.1657 -0.1126)
OKLCHoklch(52.3% 0.2 325.8)
XYZxyz(22.3962, 12.2613, 37.2560)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA6 #35A62F
analogous
#652FA6 #A02FA6 #A62F71
triadic
#A02FA6 #A6A02F #2FA6A0
tetradic
#A02FA6 #A6652F #35A62F #2F71A6
square
#A02FA6 #A6652F #35A62F #2F71A6
split-complementary
#A02FA6 #71A62F #2FA665
monochromatic
#441447 #722176 #A02FA6 #C447CB #D477D8

Accessibility & contrast

On white

6.08
#A02FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A02FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA6#FFFFFF#000000##FFFFFF
##A02FA61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#A44268
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02fa6;
/* rgb */ color: rgb(160, 47, 166);
/* oklch */ color: oklch(52.3% 0.200 325.8);
Tailwind
colors: {
  custom: {
    50: '#c073c1',
    500: '#a02fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa6;
$custom-light: #c073c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa6",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 296.975,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.20032,
    "h": 325.8
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#A02FA6
secondary
#74C170
accent
#DF4950
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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