#A04AAA#A04AAA

#A04AAA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.5% C 0.167 H 323.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A04AAA
RGBrgb(160, 74, 170)
HSLhsl(294, 39%, 48%)
HSVhsv(294, 56%, 67%)
CMYKcmyk(5.9%, 56.5%, 0%, 33.3%)
CIE-LABlab(46.01, 49.63, -35.97)
CIE-LCHlch(46.01, 61.29, 324.07°)
OKLaboklab(55.55% 0.1339 -0.0996)
OKLCHoklch(55.55% 0.167 323.4)
XYZxyz(24.2010, 15.2747, 39.6960)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04AAA #54AA4A
analogous
#704AAA #A04AAA #AA4A84
triadic
#A04AAA #AAA04A #4AAAA0
tetradic
#A04AAA #AA704A #54AA4A #4A84AA
square
#A04AAA #AA704A #54AA4A #4A84AA
split-complementary
#A04AAA #84AA4A #4AAA70
monochromatic
#502555 #78377F #A04AAA #B870C1 #CE9BD3

Accessibility & contrast

On white

5.18
#A04AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A04AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04AAA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04AAA#FFFFFF#000000##FFFFFF
##A04AAA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#A35773
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a04aaa;
/* rgb */ color: rgb(160, 74, 170);
/* oklch */ color: oklch(55.5% 0.167 323.4);
Tailwind
colors: {
  custom: {
    50: '#be81c3',
    500: '#a04aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a04aaa;
$custom-light: #be81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a04aaa",
  "rgb": {
    "r": 160,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 293.75,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55546,
    "c": 0.1669,
    "h": 323.4
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#A04AAA
secondary
#95C090
accent
#CF5965
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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