#A04AA2#A04AA2

#A04AA2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.1% C 0.159 H 326.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A04AA2
RGBrgb(160, 74, 162)
HSLhsl(299, 37%, 46%)
HSVhsv(299, 54%, 64%)
CMYKcmyk(1.2%, 54.3%, 0%, 36.5%)
CIE-LABlab(45.61, 48.12, -31.86)
CIE-LCHlch(45.61, 57.71, 326.49°)
OKLaboklab(55.12% 0.1331 -0.0877)
OKLCHoklch(55.12% 0.159 326.6)
XYZxyz(23.4671, 14.9811, 35.8310)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04AA2 #4CA24A
analogous
#744AA2 #A04AA2 #A24A78
triadic
#A04AA2 #A2A04A #4AA2A0
tetradic
#A04AA2 #A2744A #4CA24A #4A78A2
square
#A04AA2 #A2744A #4CA24A #4A78A2
split-complementary
#A04AA2 #78A24A #4AA274
monochromatic
#4D244E #773778 #A04AA2 #BA6DBC #CE97CF

Accessibility & contrast

On white

5.26
#A04AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A04AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04AA2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04AA2#FFFFFF#000000##FFFFFF
##A04AA21.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#5B709F
Tritanopia (blue-blind)
#A4546F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a04aa2;
/* rgb */ color: rgb(160, 74, 162);
/* oklch */ color: oklch(55.1% 0.159 326.6);
Tailwind
colors: {
  custom: {
    50: '#be81be',
    500: '#a04aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a04aa2;
$custom-light: #be81be;
$custom-dark: #000000;
JSON
{
  "hex": "#a04aa2",
  "rgb": {
    "r": 160,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 298.636,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.15936,
    "h": 326.6
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#A04AA2
secondary
#8DBC8C
accent
#CD5B5D
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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