#A04FA8#A04FA8

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

Color values

HEX#A04FA8
RGBrgb(160, 79, 168)
HSLhsl(295, 36%, 48%)
HSVhsv(295, 53%, 66%)
CMYKcmyk(4.8%, 53%, 0%, 34.1%)
CIE-LABlab(46.84, 46.76, -33.48)
CIE-LCHlch(46.84, 57.52, 324.40°)
OKLaboklab(56.12% 0.1269 -0.0924)
OKLCHoklch(56.12% 0.157 323.9)
XYZxyz(24.3604, 15.8939, 38.8229)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FA8 #57A84F
analogous
#734FA8 #A04FA8 #A84F83
triadic
#A04FA8 #A8A04F #4FA8A0
tetradic
#A04FA8 #A8734F #57A84F #4F83A8
square
#A04FA8 #A8734F #57A84F #4F83A8
split-complementary
#A04FA8 #83A84F #4FA873
monochromatic
#512855 #783B7E #A04FA8 #B876BE #CD9FD2

Accessibility & contrast

On white

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

On black

4.18
#A04FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A04FA8#FFFFFF#000000##FFFFFF
##A04FA81.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a04fa8;
/* rgb */ color: rgb(160, 79, 168);
/* oklch */ color: oklch(56.1% 0.157 323.9);
Tailwind
colors: {
  custom: {
    50: '#be84c2',
    500: '#a04fa8',
    950: '#000000',
  },
}
SCSS
$custom: #a04fa8;
$custom-light: #be84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fa8",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 294.607,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.15699,
    "h": 323.9
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#A04FA8
secondary
#98BF94
accent
#CC5C66
background
#FBF8FB
surface
#F7EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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