#A531A6#A531A6

#A531A6 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.200 H 327.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A531A6
RGBrgb(165, 49, 166)
HSLhsl(299, 54%, 42%)
HSVhsv(299, 70%, 65%)
CMYKcmyk(0.6%, 70.5%, 0%, 34.9%)
CIE-LABlab(42.69, 60.84, -38.79)
CIE-LCHlch(42.69, 72.16, 327.48°)
OKLaboklab(53.22% 0.1692 -0.1075)
OKLCHoklch(53.22% 0.2 327.6)
XYZxyz(23.4980, 12.9508, 37.3311)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531A6 #32A631
analogous
#6A31A6 #A531A6 #A6316D
triadic
#A531A6 #A6A531 #31A6A5
tetradic
#A531A6 #A66A31 #32A631 #316DA6
square
#A531A6 #A66A31 #32A631 #316DA6
split-complementary
#A531A6 #6DA631 #31A66A
monochromatic
#471547 #762377 #A531A6 #C94ACA #D77AD8

Accessibility & contrast

On white

5.85
#A531A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A531A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531A6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531A6#FFFFFF#000000##FFFFFF
##A531A61.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA9
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#AA4368
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a531a6;
/* rgb */ color: rgb(165, 49, 166);
/* oklch */ color: oklch(53.2% 0.200 327.6);
Tailwind
colors: {
  custom: {
    50: '#c374c1',
    500: '#a531a6',
    950: '#000000',
  },
}
SCSS
$custom: #a531a6;
$custom-light: #c374c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a531a6",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 299.487,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.20046,
    "h": 327.6
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#A531A6
secondary
#73C073
accent
#DE4A4B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A531A6

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

Preview Lab → · Contrast checker → · Palette generator →

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