#A531A4#A531A4

#A531A4 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.199 H 328.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A531A4
RGBrgb(165, 49, 164)
HSLhsl(301, 54%, 42%)
HSVhsv(301, 70%, 65%)
CMYKcmyk(0%, 70.3%, 0.6%, 35.3%)
CIE-LABlab(42.58, 60.50, -37.77)
CIE-LCHlch(42.58, 71.33, 328.02°)
OKLaboklab(53.11% 0.1692 -0.1045)
OKLCHoklch(53.11% 0.199 328.3)
XYZxyz(23.3159, 12.8780, 36.3724)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531A4 #31A532
analogous
#6C31A5 #A531A4 #A5316A
triadic
#A531A4 #A4A531 #31A4A5
tetradic
#A531A4 #A56C31 #31A532 #316AA5
square
#A531A4 #A56C31 #31A532 #316AA5
split-complementary
#A531A4 #6AA531 #31A56C
monochromatic
#471546 #762375 #A531A4 #C94AC8 #D779D6

Accessibility & contrast

On white

5.87
#A531A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A531A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531A4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531A4#FFFFFF#000000##FFFFFF
##A531A41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#AA4267
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a531a4;
/* rgb */ color: rgb(165, 49, 164);
/* oklch */ color: oklch(53.1% 0.199 328.3);
Tailwind
colors: {
  custom: {
    50: '#c374bf',
    500: '#a531a4',
    950: '#000000',
  },
}
SCSS
$custom: #a531a4;
$custom-light: #c374bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a531a4",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 300.517,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.19886,
    "h": 328.3
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#A531A4
secondary
#72C073
accent
#DE4C4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A531A4

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

Preview Lab → · Contrast checker → · Palette generator →

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