#A531BA#A531BA

#A531BA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.217 H 321.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A531BA
RGBrgb(165, 49, 186)
HSLhsl(291, 58%, 46%)
HSVhsv(291, 74%, 73%)
CMYKcmyk(11.3%, 73.7%, 0%, 27.1%)
CIE-LABlab(43.86, 64.36, -48.75)
CIE-LCHlch(43.86, 80.74, 322.86°)
OKLaboklab(54.44% 0.1685 -0.1365)
OKLCHoklch(54.44% 0.217 321)
XYZxyz(25.4773, 13.7425, 47.7555)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531BA #46BA31
analogous
#6031BA #A531BA #BA318A
triadic
#A531BA #BAA531 #31BAA5
tetradic
#A531BA #BA6031 #46BA31 #318ABA
square
#A531BA #BA6031 #46BA31 #318ABA
split-complementary
#A531BA #8ABA31 #31BA60
monochromatic
#4F1759 #7A248A #A531BA #BF56D2 #D286DF

Accessibility & contrast

On white

5.60
#A531BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A531BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531BA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531BA#FFFFFF#000000##FFFFFF
##A531BA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#A64C73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a531ba;
/* rgb */ color: rgb(165, 49, 186);
/* oklch */ color: oklch(54.4% 0.217 321.0);
Tailwind
colors: {
  custom: {
    50: '#c475cf',
    500: '#a531ba',
    950: '#000000',
  },
}
SCSS
$custom: #a531ba;
$custom-light: #c475cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a531ba",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 290.803,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.21687,
    "h": 321
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#A531BA
secondary
#89C97E
accent
#E2465E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A531BA

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

Preview Lab → · Contrast checker → · Palette generator →

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