#A531AB#A531AB

#A531AB is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.204 H 325.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A531AB
RGBrgb(165, 49, 171)
HSLhsl(297, 55%, 43%)
HSVhsv(297, 71%, 67%)
CMYKcmyk(3.5%, 71.3%, 0%, 32.9%)
CIE-LABlab(42.97, 61.70, -41.32)
CIE-LCHlch(42.97, 74.26, 326.19°)
OKLaboklab(53.51% 0.1692 -0.1148)
OKLCHoklch(53.51% 0.204 325.8)
XYZxyz(23.9656, 13.1378, 39.7937)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531AB #37AB31
analogous
#6831AB #A531AB #AB3174
triadic
#A531AB #ABA531 #31ABA5
tetradic
#A531AB #AB6831 #37AB31 #3174AB
square
#A531AB #AB6831 #37AB31 #3174AB
split-complementary
#A531AB #74AB31 #31AB68
monochromatic
#49164C #77237B #A531AB #C64DCC #D57DDA

Accessibility & contrast

On white

5.79
#A531AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A531AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531AB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531AB#FFFFFF#000000##FFFFFF
##A531AB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAE
Deuteranopia (green-blind)
#4C6AA8
Tritanopia (blue-blind)
#A9456B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a531ab;
/* rgb */ color: rgb(165, 49, 171);
/* oklch */ color: oklch(53.5% 0.204 325.8);
Tailwind
colors: {
  custom: {
    50: '#c374c4',
    500: '#a531ab',
    950: '#000000',
  },
}
SCSS
$custom: #a531ab;
$custom-light: #c374c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a531ab",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 297.049,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.20449,
    "h": 325.8
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#A531AB
secondary
#79C275
accent
#DF4950
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A531AB

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

Preview Lab → · Contrast checker → · Palette generator →

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