#A031A5#A031A5

#A031A5 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.197 H 326.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A031A5
RGBrgb(160, 49, 165)
HSLhsl(297, 54%, 42%)
HSVhsv(297, 70%, 65%)
CMYKcmyk(3%, 70.3%, 0%, 35.3%)
CIE-LABlab(41.83, 59.53, -39.61)
CIE-LCHlch(41.83, 71.51, 326.36°)
OKLaboklab(52.43% 0.1637 -0.11)
OKLCHoklch(52.43% 0.197 326.1)
XYZxyz(22.3866, 12.3883, 36.8021)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A5 #36A531
analogous
#6631A5 #A031A5 #A53170
triadic
#A031A5 #A5A031 #31A5A0
tetradic
#A031A5 #A56631 #36A531 #3170A5
square
#A031A5 #A56631 #36A531 #3170A5
split-complementary
#A031A5 #70A531 #31A566
monochromatic
#441547 #722376 #A031A5 #C44AC9 #D379D7

Accessibility & contrast

On white

6.04
#A031A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A031A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031A5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A5#FFFFFF#000000##FFFFFF
##A031A51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA8
Deuteranopia (green-blind)
#4B67A2
Tritanopia (blue-blind)
#A44368
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a031a5;
/* rgb */ color: rgb(160, 49, 165);
/* oklch */ color: oklch(52.4% 0.197 326.1);
Tailwind
colors: {
  custom: {
    50: '#c074c0',
    500: '#a031a5',
    950: '#000000',
  },
}
SCSS
$custom: #a031a5;
$custom-light: #c074c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a5",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 297.414,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.19717,
    "h": 326.1
  },
  "luminance": 0.12387
}

Semantic roles & 50–950 ramp

primary
#A031A5
secondary
#75C072
accent
#DE4A51
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A5

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

Preview Lab → · Contrast checker → · Palette generator →

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