#A020A0#A020A0

#A020A0 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.211 H 328.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A020A0
RGBrgb(160, 32, 160)
HSLhsl(300, 67%, 38%)
HSVhsv(300, 80%, 63%)
CMYKcmyk(0%, 80%, 0%, 37.3%)
CIE-LABlab(39.66, 64.08, -40.07)
CIE-LCHlch(39.66, 75.57, 327.98°)
OKLaboklab(50.79% 0.1789 -0.1112)
OKLCHoklch(50.79% 0.211 328.1)
XYZxyz(21.3586, 11.0463, 34.2581)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A020A0 #20A020
analogous
#6020A0 #A020A0 #A02060
triadic
#A020A0 #A0A020 #20A0A0
tetradic
#A020A0 #A06020 #20A020 #2060A0
square
#A020A0 #A06020 #20A020 #2060A0
split-complementary
#A020A0 #60A020 #20A060
monochromatic
#3A0C3A #6D166D #A020A0 #D32AD3 #DE5CDE

Accessibility & contrast

On white

6.54
#A020A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A020A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A020A0
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A020A0#FFFFFF#000000##FFFFFF
##A020A01.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#46639D
Tritanopia (blue-blind)
#A53761
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a020a0;
/* rgb */ color: rgb(160, 32, 160);
/* oklch */ color: oklch(50.8% 0.211 328.1);
Tailwind
colors: {
  custom: {
    50: '#c06dbc',
    500: '#a020a0',
    950: '#000000',
  },
}
SCSS
$custom: #a020a0;
$custom-light: #c06dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a020a0",
  "rgb": {
    "r": 160,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 300,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.21063,
    "h": 328.1
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#A020A0
secondary
#59C359
accent
#EA3E3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A020A0

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

Preview Lab → · Contrast checker → · Palette generator →

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