#A531AC#A531AC

#A531AC is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.205 H 325.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A531AC
RGBrgb(165, 49, 172)
HSLhsl(297, 56%, 43%)
HSVhsv(297, 72%, 67%)
CMYKcmyk(4.1%, 71.5%, 0%, 32.5%)
CIE-LABlab(43.03, 61.87, -41.82)
CIE-LCHlch(43.03, 74.68, 325.94°)
OKLaboklab(53.57% 0.1692 -0.1163)
OKLCHoklch(53.57% 0.205 325.5)
XYZxyz(24.0612, 13.1761, 40.2976)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531AC #38AC31
analogous
#6731AC #A531AC #AC3175
triadic
#A531AC #ACA531 #31ACA5
tetradic
#A531AC #AC6731 #38AC31 #3175AC
square
#A531AC #AC6731 #38AC31 #3175AC
split-complementary
#A531AC #75AC31 #31AC67
monochromatic
#4A164D #77237C #A531AC #C54ECC #D57DDA

Accessibility & contrast

On white

5.78
#A531AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A531AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531AC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531AC#FFFFFF#000000##FFFFFF
##A531AC1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#4B6BA9
Tritanopia (blue-blind)
#A9456B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a531ac;
/* rgb */ color: rgb(165, 49, 172);
/* oklch */ color: oklch(53.6% 0.205 325.5);
Tailwind
colors: {
  custom: {
    50: '#c374c5',
    500: '#a531ac',
    950: '#000000',
  },
}
SCSS
$custom: #a531ac;
$custom-light: #c374c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a531ac",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 296.585,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.20531,
    "h": 325.5
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#A531AC
secondary
#7AC376
accent
#DF4951
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A531AC

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

Preview Lab → · Contrast checker → · Palette generator →

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