#A031A4#A031A4

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

Color values

HEX#A031A4
RGBrgb(160, 49, 164)
HSLhsl(298, 54%, 42%)
HSVhsv(298, 70%, 64%)
CMYKcmyk(2.4%, 70.1%, 0%, 35.7%)
CIE-LABlab(41.77, 59.36, -39.11)
CIE-LCHlch(41.77, 71.08, 326.62°)
OKLaboklab(52.37% 0.1637 -0.1085)
OKLCHoklch(52.37% 0.196 326.5)
XYZxyz(22.2959, 12.3520, 36.3246)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A4 #35A431
analogous
#6731A4 #A031A4 #A4316F
triadic
#A031A4 #A4A031 #31A4A0
tetradic
#A031A4 #A46731 #35A431 #316FA4
square
#A031A4 #A46731 #35A431 #316FA4
split-complementary
#A031A4 #6FA431 #31A467
monochromatic
#441546 #722375 #A031A4 #C449C9 #D479D7

Accessibility & contrast

On white

6.05
#A031A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A031A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031A4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A4#FFFFFF#000000##FFFFFF
##A031A41.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#A44367
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a031a4;
/* rgb */ color: rgb(160, 49, 164);
/* oklch */ color: oklch(52.4% 0.196 326.5);
Tailwind
colors: {
  custom: {
    50: '#c073bf',
    500: '#a031a4',
    950: '#000000',
  },
}
SCSS
$custom: #a031a4;
$custom-light: #c073bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a4",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 297.913,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.19635,
    "h": 326.5
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#A031A4
secondary
#74BF72
accent
#DD4A50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A4

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

Preview Lab → · Contrast checker → · Palette generator →

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