#A820A7#A820A7

#A820A7 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.5% C 0.219 H 328.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A820A7
RGBrgb(168, 32, 167)
HSLhsl(300, 68%, 39%)
HSVhsv(300, 81%, 66%)
CMYKcmyk(0%, 81%, 0.6%, 34.1%)
CIE-LABlab(41.45, 66.80, -41.32)
CIE-LCHlch(41.45, 78.55, 328.26°)
OKLaboklab(52.45% 0.187 -0.1146)
OKLCHoklch(52.45% 0.219 328.5)
XYZxyz(23.6398, 12.1497, 37.6518)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A820A7 #20A821
analogous
#6520A8 #A820A7 #A82063
triadic
#A820A7 #A7A820 #20A7A8
tetradic
#A820A7 #A86520 #20A821 #2063A8
square
#A820A7 #A86520 #20A821 #2063A8
split-complementary
#A820A7 #63A820 #20A865
monochromatic
#410C41 #751674 #A820A7 #D72ED6 #E161E0

Accessibility & contrast

On white

6.12
#A820A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A820A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A820A7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A820A7#FFFFFF#000000##FFFFFF
##A820A71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#AE3865
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a820a7;
/* rgb */ color: rgb(168, 32, 167);
/* oklch */ color: oklch(52.5% 0.219 328.5);
Tailwind
colors: {
  custom: {
    50: '#c66ec2',
    500: '#a820a7',
    950: '#000000',
  },
}
SCSS
$custom: #a820a7;
$custom-light: #c66ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a820a7",
  "rgb": {
    "r": 168,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 300.441,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.21934,
    "h": 328.5
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#A820A7
secondary
#5EC65F
accent
#EB3E3D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A820A7

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

Preview Lab → · Contrast checker → · Palette generator →

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