#A02AB7#A02AB7

#A02AB7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.0% C 0.220 H 320.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A02AB7
RGBrgb(160, 42, 183)
HSLhsl(290, 63%, 44%)
HSVhsv(290, 77%, 72%)
CMYKcmyk(12.6%, 77%, 0%, 28.2%)
CIE-LABlab(42.08, 65.13, -49.89)
CIE-LCHlch(42.08, 82.04, 322.55°)
OKLaboklab(52.95% 0.1692 -0.1399)
OKLCHoklch(52.95% 0.22 320.4)
XYZxyz(23.8714, 12.5497, 45.9555)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AB7 #41B72A
analogous
#5A2AB7 #A02AB7 #B72A88
triadic
#A02AB7 #B7A02A #2AB7A0
tetradic
#A02AB7 #B75A2A #41B72A #2A88B7
square
#A02AB7 #B75A2A #41B72A #2A88B7
split-complementary
#A02AB7 #88B72A #2AB75A
monochromatic
#491353 #741F85 #A02AB7 #BE49D5 #D07BE1

Accessibility & contrast

On white

5.98
#A02AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A02AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AB7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AB7#FFFFFF#000000##FFFFFF
##A02AB71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3967B4
Tritanopia (blue-blind)
#A14770
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02ab7;
/* rgb */ color: rgb(160, 42, 183);
/* oklch */ color: oklch(53.0% 0.220 320.4);
Tailwind
colors: {
  custom: {
    50: '#c071cd',
    500: '#a02ab7',
    950: '#000000',
  },
}
SCSS
$custom: #a02ab7;
$custom-light: #c071cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ab7",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 290.213,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.21953,
    "h": 320.4
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#A02AB7
secondary
#82C974
accent
#E6425D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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