#A531AA#A531AA

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

Color values

HEX#A531AA
RGBrgb(165, 49, 170)
HSLhsl(298, 55%, 43%)
HSVhsv(298, 71%, 67%)
CMYKcmyk(2.9%, 71.2%, 0%, 33.3%)
CIE-LABlab(42.91, 61.52, -40.82)
CIE-LCHlch(42.91, 73.83, 326.44°)
OKLaboklab(53.45% 0.1692 -0.1133)
OKLCHoklch(53.45% 0.204 326.2)
XYZxyz(23.8706, 13.0998, 39.2937)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531AA #36AA31
analogous
#6931AA #A531AA #AA3172
triadic
#A531AA #AAA531 #31AAA5
tetradic
#A531AA #AA6931 #36AA31 #3172AA
square
#A531AA #AA6931 #36AA31 #3172AA
split-complementary
#A531AA #72AA31 #31AA69
monochromatic
#49164B #77237A #A531AA #C64DCC #D57CD9

Accessibility & contrast

On white

5.80
#A531AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A531AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531AA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531AA#FFFFFF#000000##FFFFFF
##A531AA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#4C6AA7
Tritanopia (blue-blind)
#A9446A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a531aa;
/* rgb */ color: rgb(165, 49, 170);
/* oklch */ color: oklch(53.5% 0.204 326.2);
Tailwind
colors: {
  custom: {
    50: '#c374c4',
    500: '#a531aa',
    950: '#000000',
  },
}
SCSS
$custom: #a531aa;
$custom-light: #c374c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a531aa",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 297.521,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.20368,
    "h": 326.2
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#A531AA
secondary
#78C275
accent
#DF494F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A531AA

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

Preview Lab → · Contrast checker → · Palette generator →

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