#A731A3#A731A3

#A731A3 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.199 H 329.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A731A3
RGBrgb(167, 49, 163)
HSLhsl(302, 55%, 42%)
HSVhsv(302, 71%, 65%)
CMYKcmyk(0%, 70.7%, 2.4%, 34.5%)
CIE-LABlab(42.85, 60.80, -36.72)
CIE-LCHlch(42.85, 71.03, 328.87°)
OKLaboklab(53.35% 0.1713 -0.1014)
OKLCHoklch(53.35% 0.199 329.4)
XYZxyz(23.6453, 13.0582, 35.9183)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731A3 #31A735
analogous
#7031A7 #A731A3 #A73168
triadic
#A731A3 #A3A731 #31A3A7
tetradic
#A731A3 #A77031 #31A735 #3168A7
square
#A731A3 #A77031 #31A735 #3168A7
split-complementary
#A731A3 #68A731 #31A770
monochromatic
#481547 #782375 #A731A3 #CA4BC6 #D87AD5

Accessibility & contrast

On white

5.82
#A731A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A731A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731A3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731A3#FFFFFF#000000##FFFFFF
##A731A31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA6
Deuteranopia (green-blind)
#526BA0
Tritanopia (blue-blind)
#AD4167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a731a3;
/* rgb */ color: rgb(167, 49, 163);
/* oklch */ color: oklch(53.3% 0.199 329.4);
Tailwind
colors: {
  custom: {
    50: '#c574bf',
    500: '#a731a3',
    950: '#000000',
  },
}
SCSS
$custom: #a731a3;
$custom-light: #c574bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a731a3",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 302.034,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.1991,
    "h": 329.4
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#A731A3
secondary
#73C176
accent
#DE4F4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A731A3

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

Preview Lab → · Contrast checker → · Palette generator →

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