#A04FAC#A04FAC

#A04FAC is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.3% C 0.161 H 322.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A04FAC
RGBrgb(160, 79, 172)
HSLhsl(292, 37%, 49%)
HSVhsv(292, 54%, 67%)
CMYKcmyk(7%, 54.1%, 0%, 32.5%)
CIE-LABlab(47.03, 47.54, -35.53)
CIE-LCHlch(47.03, 59.35, 323.23°)
OKLaboklab(56.33% 0.1274 -0.0984)
OKLCHoklch(56.33% 0.161 322.3)
XYZxyz(24.7388, 16.0453, 40.8157)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FAC #5BAC4F
analogous
#724FAC #A04FAC #AC4F8A
triadic
#A04FAC #ACA04F #4FACA0
tetradic
#A04FAC #AC724F #5BAC4F #4F8AAC
square
#A04FAC #AC724F #5BAC4F #4F8AAC
split-complementary
#A04FAC #8AAC4F #4FAC72
monochromatic
#522858 #793C82 #A04FAC #B777C1 #CDA1D4

Accessibility & contrast

On white

4.99
#A04FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A04FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FAC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FAC#FFFFFF#000000##FFFFFF
##A04FAC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AF
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#A25C76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04fac;
/* rgb */ color: rgb(160, 79, 172);
/* oklch */ color: oklch(56.3% 0.161 322.3);
Tailwind
colors: {
  custom: {
    50: '#be84c5',
    500: '#a04fac',
    950: '#000000',
  },
}
SCSS
$custom: #a04fac;
$custom-light: #be84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fac",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 292.258,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.16091,
    "h": 322.3
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#A04FAC
secondary
#9BC196
accent
#CD5B6A
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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