#A731AC#A731AC

#A731AC is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.206 H 326.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A731AC
RGBrgb(167, 49, 172)
HSLhsl(298, 56%, 43%)
HSVhsv(298, 72%, 67%)
CMYKcmyk(2.9%, 71.5%, 0%, 32.5%)
CIE-LABlab(43.35, 62.31, -41.29)
CIE-LCHlch(43.35, 74.75, 326.47°)
OKLaboklab(53.87% 0.1714 -0.1147)
OKLCHoklch(53.87% 0.206 326.2)
XYZxyz(24.4806, 13.3923, 40.3173)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731AC #36AC31
analogous
#6931AC #A731AC #AC3173
triadic
#A731AC #ACA731 #31ACA7
tetradic
#A731AC #AC6931 #36AC31 #3173AC
square
#A731AC #AC6931 #36AC31 #3173AC
split-complementary
#A731AC #73AC31 #31AC69
monochromatic
#4B164D #79237C #A731AC #C74ECC #D67DDA

Accessibility & contrast

On white

5.71
#A731AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A731AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731AC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731AC#FFFFFF#000000##FFFFFF
##A731AC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#4D6BA9
Tritanopia (blue-blind)
#AB456B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a731ac;
/* rgb */ color: rgb(167, 49, 172);
/* oklch */ color: oklch(53.9% 0.206 326.2);
Tailwind
colors: {
  custom: {
    50: '#c575c5',
    500: '#a731ac',
    950: '#000000',
  },
}
SCSS
$custom: #a731ac;
$custom-light: #c575c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a731ac",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 297.561,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.20625,
    "h": 326.2
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#A731AC
secondary
#79C376
accent
#DF494F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A731AC

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

Preview Lab → · Contrast checker → · Palette generator →

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