#A731AA#A731AA

#A731AA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.205 H 326.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A731AA
RGBrgb(167, 49, 170)
HSLhsl(299, 55%, 43%)
HSVhsv(299, 71%, 67%)
CMYKcmyk(1.8%, 71.2%, 0%, 33.3%)
CIE-LABlab(43.24, 61.97, -40.28)
CIE-LCHlch(43.24, 73.91, 326.97°)
OKLaboklab(53.75% 0.1715 -0.1117)
OKLCHoklch(53.75% 0.205 326.9)
XYZxyz(24.2900, 13.3161, 39.3133)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731AA #34AA31
analogous
#6A31AA #A731AA #AA3171
triadic
#A731AA #AAA731 #31AAA7
tetradic
#A731AA #AA6A31 #34AA31 #3171AA
square
#A731AA #AA6A31 #34AA31 #3171AA
split-complementary
#A731AA #71AA31 #31AA6A
monochromatic
#4A164B #78237A #A731AA #C84DCC #D77CD9

Accessibility & contrast

On white

5.73
#A731AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A731AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731AA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731AA#FFFFFF#000000##FFFFFF
##A731AA1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAD
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#AC446A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a731aa;
/* rgb */ color: rgb(167, 49, 170);
/* oklch */ color: oklch(53.7% 0.205 326.9);
Tailwind
colors: {
  custom: {
    50: '#c575c4',
    500: '#a731aa',
    950: '#000000',
  },
}
SCSS
$custom: #a731aa;
$custom-light: #c575c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a731aa",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 298.512,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.20465,
    "h": 326.9
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#A731AA
secondary
#77C275
accent
#DF494D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A731AA

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

Preview Lab → · Contrast checker → · Palette generator →

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