#A031AA#A031AA

#A031AA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.7% C 0.201 H 324.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A031AA
RGBrgb(160, 49, 170)
HSLhsl(295, 55%, 43%)
HSVhsv(295, 71%, 67%)
CMYKcmyk(5.9%, 71.2%, 0%, 33.3%)
CIE-LABlab(42.11, 60.41, -42.14)
CIE-LCHlch(42.11, 73.65, 325.10°)
OKLaboklab(52.73% 0.1636 -0.1173)
OKLCHoklch(52.73% 0.201 324.4)
XYZxyz(22.8506, 12.5739, 39.2458)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031AA #3BAA31
analogous
#6331AA #A031AA #AA3178
triadic
#A031AA #AAA031 #31AAA0
tetradic
#A031AA #AA6331 #3BAA31 #3178AA
square
#A031AA #AA6331 #3BAA31 #3178AA
split-complementary
#A031AA #78AA31 #31AA63
monochromatic
#47164B #73237A #A031AA #C14DCC #D27CD9

Accessibility & contrast

On white

5.98
#A031AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A031AA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031AA#FFFFFF#000000##FFFFFF
##A031AA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a031aa;
/* rgb */ color: rgb(160, 49, 170);
/* oklch */ color: oklch(52.7% 0.201 324.4);
Tailwind
colors: {
  custom: {
    50: '#c074c4',
    500: '#a031aa',
    950: '#000000',
  },
}
SCSS
$custom: #a031aa;
$custom-light: #c074c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a031aa",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 295.041,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.20131,
    "h": 324.4
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#A031AA
secondary
#7BC275
accent
#DF4956
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A031AA

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

Preview Lab → · Contrast checker → · Palette generator →

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