#A02AB6#A02AB6

#A02AB6 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.219 H 320.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A02AB6
RGBrgb(160, 42, 182)
HSLhsl(291, 63%, 44%)
HSVhsv(291, 77%, 71%)
CMYKcmyk(12.1%, 76.9%, 0%, 28.6%)
CIE-LABlab(42.01, 64.95, -49.40)
CIE-LCHlch(42.01, 81.61, 322.74°)
OKLaboklab(52.89% 0.1693 -0.1385)
OKLCHoklch(52.89% 0.219 320.7)
XYZxyz(23.7677, 12.5082, 45.4093)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AB6 #40B62A
analogous
#5A2AB6 #A02AB6 #B62A86
triadic
#A02AB6 #B6A02A #2AB6A0
tetradic
#A02AB6 #B65A2A #40B62A #2A86B6
square
#A02AB6 #B65A2A #40B62A #2A86B6
split-complementary
#A02AB6 #86B62A #2AB65A
monochromatic
#491353 #741F84 #A02AB6 #BF48D5 #D07AE0

Accessibility & contrast

On white

6.00
#A02AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A02AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AB6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AB6#FFFFFF#000000##FFFFFF
##A02AB61.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02ab6;
/* rgb */ color: rgb(160, 42, 182);
/* oklch */ color: oklch(52.9% 0.219 320.7);
Tailwind
colors: {
  custom: {
    50: '#c071cc',
    500: '#a02ab6',
    950: '#000000',
  },
}
SCSS
$custom: #a02ab6;
$custom-light: #c071cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ab6",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 290.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.21872,
    "h": 320.7
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#A02AB6
secondary
#81C873
accent
#E6425C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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