#A04FA6#A04FA6

#A04FA6 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.0% C 0.155 H 324.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A04FA6
RGBrgb(160, 79, 166)
HSLhsl(296, 36%, 48%)
HSVhsv(296, 52%, 65%)
CMYKcmyk(3.6%, 52.4%, 0%, 34.9%)
CIE-LABlab(46.74, 46.38, -32.46)
CIE-LCHlch(46.74, 56.61, 325.01°)
OKLaboklab(56.02% 0.1266 -0.0895)
OKLCHoklch(56.02% 0.155 324.7)
XYZxyz(24.1755, 15.8200, 37.8491)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FA6 #55A64F
analogous
#744FA6 #A04FA6 #A64F80
triadic
#A04FA6 #A6A04F #4FA6A0
tetradic
#A04FA6 #A6744F #55A64F #4F80A6
square
#A04FA6 #A6744F #55A64F #4F80A6
split-complementary
#A04FA6 #80A64F #4FA674
monochromatic
#502853 #783B7D #A04FA6 #B875BD #CE9ED1

Accessibility & contrast

On white

5.04
#A04FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A04FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FA6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FA6#FFFFFF#000000##FFFFFF
##A04FA61.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A9
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#A35A73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04fa6;
/* rgb */ color: rgb(160, 79, 166);
/* oklch */ color: oklch(56.0% 0.155 324.7);
Tailwind
colors: {
  custom: {
    50: '#be84c1',
    500: '#a04fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a04fa6;
$custom-light: #be84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fa6",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 295.862,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.15504,
    "h": 324.7
  },
  "luminance": 0.15819
}

Semantic roles & 50–950 ramp

primary
#A04FA6
secondary
#96BE93
accent
#CC5C64
background
#FBF8FB
surface
#F7EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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