#A02AB5#A02AB5

#A02AB5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.218 H 321.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A02AB5
RGBrgb(160, 42, 181)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 77%, 71%)
CMYKcmyk(11.6%, 76.8%, 0%, 29%)
CIE-LABlab(41.95, 64.77, -48.92)
CIE-LCHlch(41.95, 81.17, 322.94°)
OKLaboklab(52.82% 0.1694 -0.1371)
OKLCHoklch(52.82% 0.218 321)
XYZxyz(23.6647, 12.4670, 44.8670)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AB5 #3FB52A
analogous
#5A2AB5 #A02AB5 #B52A84
triadic
#A02AB5 #B5A02A #2AB5A0
tetradic
#A02AB5 #B55A2A #3FB52A #2A84B5
square
#A02AB5 #B55A2A #3FB52A #2A84B5
split-complementary
#A02AB5 #84B52A #2AB55A
monochromatic
#481352 #741E83 #A02AB5 #BF48D4 #D079E0

Accessibility & contrast

On white

6.01
#A02AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A02AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AB5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AB5#FFFFFF#000000##FFFFFF
##A02AB51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3B67B2
Tritanopia (blue-blind)
#A1476F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02ab5;
/* rgb */ color: rgb(160, 42, 181);
/* oklch */ color: oklch(52.8% 0.218 321.0);
Tailwind
colors: {
  custom: {
    50: '#c071cc',
    500: '#a02ab5',
    950: '#000000',
  },
}
SCSS
$custom: #a02ab5;
$custom-light: #c071cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ab5",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 290.935,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.21789,
    "h": 321
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#A02AB5
secondary
#80C873
accent
#E5425B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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