#A820A8#A820A8

#A820A8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.220 H 328.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A820A8
RGBrgb(168, 32, 168)
HSLhsl(300, 68%, 39%)
HSVhsv(300, 81%, 66%)
CMYKcmyk(0%, 81%, 0%, 34.1%)
CIE-LABlab(41.51, 66.96, -41.83)
CIE-LCHlch(41.51, 78.95, 328.01°)
OKLaboklab(52.51% 0.187 -0.1161)
OKLCHoklch(52.51% 0.22 328.2)
XYZxyz(23.7326, 12.1868, 38.1405)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A820A8 #20A820
analogous
#6420A8 #A820A8 #A82064
triadic
#A820A8 #A8A820 #20A8A8
tetradic
#A820A8 #A86420 #20A820 #2064A8
square
#A820A8 #A86420 #20A820 #2064A8
split-complementary
#A820A8 #64A820 #20A864
monochromatic
#410C41 #751675 #A820A8 #D72ED7 #E161E1

Accessibility & contrast

On white

6.11
#A820A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A820A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A820A8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A820A8#FFFFFF#000000##FFFFFF
##A820A81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#AD3965
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a820a8;
/* rgb */ color: rgb(168, 32, 168);
/* oklch */ color: oklch(52.5% 0.220 328.2);
Tailwind
colors: {
  custom: {
    50: '#c66ec2',
    500: '#a820a8',
    950: '#000000',
  },
}
SCSS
$custom: #a820a8;
$custom-light: #c66ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a820a8",
  "rgb": {
    "r": 168,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 300,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.22007,
    "h": 328.2
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#A820A8
secondary
#5EC65E
accent
#EB3D3D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A820A8

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

Preview Lab → · Contrast checker → · Palette generator →

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