#A731AE#A731AE

#A731AE is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.208 H 325.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A731AE
RGBrgb(167, 49, 174)
HSLhsl(297, 56%, 44%)
HSVhsv(297, 72%, 68%)
CMYKcmyk(4%, 71.8%, 0%, 31.8%)
CIE-LABlab(43.46, 62.66, -42.30)
CIE-LCHlch(43.46, 75.60, 325.98°)
OKLaboklab(53.98% 0.1714 -0.1176)
OKLCHoklch(53.98% 0.208 325.5)
XYZxyz(24.6741, 13.4697, 41.3365)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731AE #38AE31
analogous
#6831AE #A731AE #AE3176
triadic
#A731AE #AEA731 #31AEA7
tetradic
#A731AE #AE6831 #38AE31 #3176AE
square
#A731AE #AE6831 #38AE31 #3176AE
split-complementary
#A731AE #76AE31 #31AE68
monochromatic
#4B164E #79247E #A731AE #C64FCD #D67FDB

Accessibility & contrast

On white

5.69
#A731AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A731AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731AE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731AE#FFFFFF#000000##FFFFFF
##A731AE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#4C6CAB
Tritanopia (blue-blind)
#AB466D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a731ae;
/* rgb */ color: rgb(167, 49, 174);
/* oklch */ color: oklch(54.0% 0.208 325.5);
Tailwind
colors: {
  custom: {
    50: '#c575c7',
    500: '#a731ae',
    950: '#000000',
  },
}
SCSS
$custom: #a731ae;
$custom-light: #c575c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a731ae",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 296.64,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.20787,
    "h": 325.5
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#A731AE
secondary
#7BC477
accent
#DF4851
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A731AE

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

Preview Lab → · Contrast checker → · Palette generator →

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