#A031AB#A031AB

#A031AB is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.202 H 324.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A031AB
RGBrgb(160, 49, 171)
HSLhsl(295, 55%, 43%)
HSVhsv(295, 71%, 67%)
CMYKcmyk(6.4%, 71.3%, 0%, 32.9%)
CIE-LABlab(42.17, 60.59, -42.64)
CIE-LCHlch(42.17, 74.09, 324.86°)
OKLaboklab(52.79% 0.1636 -0.1188)
OKLCHoklch(52.79% 0.202 324)
XYZxyz(22.9456, 12.6119, 39.7459)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031AB #3CAB31
analogous
#6331AB #A031AB #AB3179
triadic
#A031AB #ABA031 #31ABA0
tetradic
#A031AB #AB6331 #3CAB31 #3179AB
square
#A031AB #AB6331 #3CAB31 #3179AB
split-complementary
#A031AB #79AB31 #31AB63
monochromatic
#47164C #73237B #A031AB #C14DCC #D17DDA

Accessibility & contrast

On white

5.96
#A031AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A031AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031AB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031AB#FFFFFF#000000##FFFFFF
##A031AB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085BAE
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#A3466B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a031ab;
/* rgb */ color: rgb(160, 49, 171);
/* oklch */ color: oklch(52.8% 0.202 324.0);
Tailwind
colors: {
  custom: {
    50: '#c074c4',
    500: '#a031ab',
    950: '#000000',
  },
}
SCSS
$custom: #a031ab;
$custom-light: #c074c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a031ab",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 294.59,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.20214,
    "h": 324
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#A031AB
secondary
#7CC275
accent
#DF4957
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A031AB

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

Preview Lab → · Contrast checker → · Palette generator →

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