#A431AB#A431AB

#A431AB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.204 H 325.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A431AB
RGBrgb(164, 49, 171)
HSLhsl(297, 55%, 43%)
HSVhsv(297, 71%, 67%)
CMYKcmyk(4.1%, 71.3%, 0%, 32.9%)
CIE-LABlab(42.81, 61.47, -41.59)
CIE-LCHlch(42.81, 74.22, 325.92°)
OKLaboklab(53.37% 0.1681 -0.1156)
OKLCHoklch(53.37% 0.204 325.5)
XYZxyz(23.7583, 13.0310, 39.7840)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431AB #38AB31
analogous
#6731AB #A431AB #AB3175
triadic
#A431AB #ABA431 #31ABA4
tetradic
#A431AB #AB6731 #38AB31 #3175AB
square
#A431AB #AB6731 #38AB31 #3175AB
split-complementary
#A431AB #75AB31 #31AB67
monochromatic
#49164C #76237B #A431AB #C54DCC #D47DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A431AB#FFFFFF#000000##FFFFFF
##A431AB1.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)
#115CAE
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#A8456B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a431ab;
/* rgb */ color: rgb(164, 49, 171);
/* oklch */ color: oklch(53.4% 0.204 325.5);
Tailwind
colors: {
  custom: {
    50: '#c374c4',
    500: '#a431ab',
    950: '#000000',
  },
}
SCSS
$custom: #a431ab;
$custom-light: #c374c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a431ab",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 296.557,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.20401,
    "h": 325.5
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#A431AB
secondary
#7AC275
accent
#DF4952
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A431AB

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

Preview Lab → · Contrast checker → · Palette generator →

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