#A031A9#A031A9

#A031A9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.200 H 324.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A031A9
RGBrgb(160, 49, 169)
HSLhsl(296, 55%, 43%)
HSVhsv(296, 71%, 66%)
CMYKcmyk(5.3%, 71%, 0%, 33.7%)
CIE-LABlab(42.06, 60.23, -41.63)
CIE-LCHlch(42.06, 73.22, 325.35°)
OKLaboklab(52.66% 0.1636 -0.1159)
OKLCHoklch(52.66% 0.2 324.7)
XYZxyz(22.7564, 12.5362, 38.7495)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A9 #3AA931
analogous
#6431A9 #A031A9 #A93176
triadic
#A031A9 #A9A031 #31A9A0
tetradic
#A031A9 #A96431 #3AA931 #3176A9
square
#A031A9 #A96431 #3AA931 #3176A9
split-complementary
#A031A9 #76A931 #31A964
monochromatic
#46154A #73237A #A031A9 #C24CCB #D27CD9

Accessibility & contrast

On white

5.99
#A031A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A031A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031A9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A9#FFFFFF#000000##FFFFFF
##A031A91.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAC
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#A3456A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a031a9;
/* rgb */ color: rgb(160, 49, 169);
/* oklch */ color: oklch(52.7% 0.200 324.7);
Tailwind
colors: {
  custom: {
    50: '#c074c3',
    500: '#a031a9',
    950: '#000000',
  },
}
SCSS
$custom: #a031a9;
$custom-light: #c074c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a9",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 295.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.20048,
    "h": 324.7
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#A031A9
secondary
#7AC174
accent
#DE4955
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A9

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

Preview Lab → · Contrast checker → · Palette generator →

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