#A04FA7#A04FA7

#A04FA7 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.1% C 0.156 H 324.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A04FA7
RGBrgb(160, 79, 167)
HSLhsl(295, 36%, 48%)
HSVhsv(295, 53%, 65%)
CMYKcmyk(4.2%, 52.7%, 0%, 34.5%)
CIE-LABlab(46.79, 46.57, -32.97)
CIE-LCHlch(46.79, 57.06, 324.70°)
OKLaboklab(56.07% 0.1268 -0.091)
OKLCHoklch(56.07% 0.156 324.3)
XYZxyz(24.2676, 15.8568, 38.3341)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FA7 #56A74F
analogous
#744FA7 #A04FA7 #A74F82
triadic
#A04FA7 #A7A04F #4FA7A0
tetradic
#A04FA7 #A7744F #56A74F #4F82A7
square
#A04FA7 #A7744F #56A74F #4F82A7
split-complementary
#A04FA7 #82A74F #4FA774
monochromatic
#502854 #783B7D #A04FA7 #B875BE #CD9FD2

Accessibility & contrast

On white

5.03
#A04FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A04FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FA7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FA7#FFFFFF#000000##FFFFFF
##A04FA71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4369AA
Deuteranopia (green-blind)
#5D72A4
Tritanopia (blue-blind)
#A35A74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04fa7;
/* rgb */ color: rgb(160, 79, 167);
/* oklch */ color: oklch(56.1% 0.156 324.3);
Tailwind
colors: {
  custom: {
    50: '#be84c1',
    500: '#a04fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a04fa7;
$custom-light: #be84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fa7",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 295.227,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.15602,
    "h": 324.3
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#A04FA7
secondary
#97BE93
accent
#CC5C65
background
#FBF8FB
surface
#F7EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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