#A731A4#A731A4

#A731A4 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.200 H 329.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A731A4
RGBrgb(167, 49, 164)
HSLhsl(302, 55%, 42%)
HSVhsv(302, 71%, 65%)
CMYKcmyk(0%, 70.7%, 1.8%, 34.5%)
CIE-LABlab(42.90, 60.96, -37.24)
CIE-LCHlch(42.90, 71.44, 328.58°)
OKLaboklab(53.4% 0.1714 -0.1029)
OKLCHoklch(53.4% 0.2 329)
XYZxyz(23.7353, 13.0942, 36.3921)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731A4 #31A734
analogous
#6F31A7 #A731A4 #A73169
triadic
#A731A4 #A4A731 #31A4A7
tetradic
#A731A4 #A76F31 #31A734 #3169A7
square
#A731A4 #A76F31 #31A734 #3169A7
split-complementary
#A731A4 #69A731 #31A76F
monochromatic
#481547 #782376 #A731A4 #CA4BC7 #D87AD6

Accessibility & contrast

On white

5.80
#A731A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A731A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731A4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731A4#FFFFFF#000000##FFFFFF
##A731A41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#AD4167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a731a4;
/* rgb */ color: rgb(167, 49, 164);
/* oklch */ color: oklch(53.4% 0.200 329.0);
Tailwind
colors: {
  custom: {
    50: '#c574bf',
    500: '#a731a4',
    950: '#000000',
  },
}
SCSS
$custom: #a731a4;
$custom-light: #c574bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a731a4",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 301.525,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53404,
    "c": 0.19989,
    "h": 329
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#A731A4
secondary
#73C175
accent
#DE4E4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A731A4

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

Preview Lab → · Contrast checker → · Palette generator →

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