#A020A8#A020A8

#A020A8 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.3% C 0.217 H 325.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A020A8
RGBrgb(160, 32, 168)
HSLhsl(296, 68%, 39%)
HSVhsv(296, 81%, 66%)
CMYKcmyk(4.8%, 81%, 0%, 34.1%)
CIE-LABlab(40.14, 65.39, -44.10)
CIE-LCHlch(40.14, 78.87, 326.01°)
OKLaboklab(51.28% 0.1784 -0.1229)
OKLCHoklch(51.28% 0.217 325.4)
XYZxyz(22.0811, 11.3353, 38.0631)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A020A8 #28A820
analogous
#5C20A8 #A020A8 #A8206C
triadic
#A020A8 #A8A020 #20A8A0
tetradic
#A020A8 #A85C20 #28A820 #206CA8
square
#A020A8 #A85C20 #28A820 #206CA8
split-complementary
#A020A8 #6CA820 #20A85C
monochromatic
#3E0C41 #6F1675 #A020A8 #CD2ED7 #D961E1

Accessibility & contrast

On white

6.43
#A020A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A020A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A020A8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A020A8#FFFFFF#000000##FFFFFF
##A020A81.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#A43B65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a020a8;
/* rgb */ color: rgb(160, 32, 168);
/* oklch */ color: oklch(51.3% 0.217 325.4);
Tailwind
colors: {
  custom: {
    50: '#c06dc2',
    500: '#a020a8',
    950: '#000000',
  },
}
SCSS
$custom: #a020a8;
$custom-light: #c06dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a020a8",
  "rgb": {
    "r": 160,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 296.471,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.21665,
    "h": 325.4
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#A020A8
secondary
#64C65E
accent
#EB3D47
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A020A8

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

Preview Lab → · Contrast checker → · Palette generator →

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