#A04FA2#A04FA2

#A04FA2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.8% C 0.151 H 326.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A04FA2
RGBrgb(160, 79, 162)
HSLhsl(299, 34%, 47%)
HSVhsv(299, 51%, 64%)
CMYKcmyk(1.2%, 51.2%, 0%, 36.5%)
CIE-LABlab(46.55, 45.62, -30.39)
CIE-LCHlch(46.55, 54.81, 326.33°)
OKLaboklab(55.81% 0.126 -0.0835)
OKLCHoklch(55.81% 0.151 326.5)
XYZxyz(23.8143, 15.6755, 35.9467)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FA2 #51A24F
analogous
#764FA2 #A04FA2 #A24F7B
triadic
#A04FA2 #A2A04F #4FA2A0
tetradic
#A04FA2 #A2764F #51A24F #4F7BA2
square
#A04FA2 #A2764F #51A24F #4F7BA2
split-complementary
#A04FA2 #7BA24F #4FA276
monochromatic
#4F2750 #773B79 #A04FA2 #B973BB #CE9CCF

Accessibility & contrast

On white

5.08
#A04FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A04FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FA2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FA2#FFFFFF#000000##FFFFFF
##A04FA21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#A45871
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a04fa2;
/* rgb */ color: rgb(160, 79, 162);
/* oklch */ color: oklch(55.8% 0.151 326.5);
Tailwind
colors: {
  custom: {
    50: '#be84be',
    500: '#a04fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a04fa2;
$custom-light: #be84be;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fa2",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 298.554,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.15122,
    "h": 326.5
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#A04FA2
secondary
#92BC91
accent
#CB5D60
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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