#A04FA9#A04FA9

#A04FA9 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.158 H 323.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A04FA9
RGBrgb(160, 79, 169)
HSLhsl(294, 36%, 49%)
HSVhsv(294, 53%, 66%)
CMYKcmyk(5.3%, 53.3%, 0%, 33.7%)
CIE-LABlab(46.88, 46.96, -34.00)
CIE-LCHlch(46.88, 57.97, 324.10°)
OKLaboklab(56.17% 0.127 -0.0939)
OKLCHoklch(56.17% 0.158 323.5)
XYZxyz(24.4539, 15.9313, 39.3154)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FA9 #58A94F
analogous
#734FA9 #A04FA9 #A94F85
triadic
#A04FA9 #A9A04F #4FA9A0
tetradic
#A04FA9 #A9734F #58A94F #4F85A9
square
#A04FA9 #A9734F #58A94F #4F85A9
split-complementary
#A04FA9 #85A94F #4FA973
monochromatic
#512856 #793C7F #A04FA9 #B876BF #CDA0D3

Accessibility & contrast

On white

5.02
#A04FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A04FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FA9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FA9#FFFFFF#000000##FFFFFF
##A04FA91.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AC
Deuteranopia (green-blind)
#5C73A6
Tritanopia (blue-blind)
#A35B75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04fa9;
/* rgb */ color: rgb(160, 79, 169);
/* oklch */ color: oklch(56.2% 0.158 323.5);
Tailwind
colors: {
  custom: {
    50: '#be84c3',
    500: '#a04fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a04fa9;
$custom-light: #be84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fa9",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 294,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56173,
    "c": 0.15796,
    "h": 323.5
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#A04FA9
secondary
#99C094
accent
#CC5C67
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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