#A031AC#A031AC

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

Color values

HEX#A031AC
RGBrgb(160, 49, 172)
HSLhsl(294, 56%, 43%)
HSVhsv(294, 72%, 67%)
CMYKcmyk(7%, 71.5%, 0%, 32.5%)
CIE-LABlab(42.23, 60.77, -43.14)
CIE-LCHlch(42.23, 74.52, 324.63°)
OKLaboklab(52.85% 0.1635 -0.1202)
OKLCHoklch(52.85% 0.203 323.7)
XYZxyz(23.0412, 12.6502, 40.2498)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031AC #3DAC31
analogous
#6231AC #A031AC #AC317A
triadic
#A031AC #ACA031 #31ACA0
tetradic
#A031AC #AC6231 #3DAC31 #317AAC
square
#A031AC #AC6231 #3DAC31 #317AAC
split-complementary
#A031AC #7AAC31 #31AC62
monochromatic
#47164D #74237C #A031AC #C04ECC #D17DDA

Accessibility & contrast

On white

5.95
#A031AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A031AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031AC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031AC#FFFFFF#000000##FFFFFF
##A031AC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAF
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#A3466B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a031ac;
/* rgb */ color: rgb(160, 49, 172);
/* oklch */ color: oklch(52.8% 0.203 323.7);
Tailwind
colors: {
  custom: {
    50: '#c074c5',
    500: '#a031ac',
    950: '#000000',
  },
}
SCSS
$custom: #a031ac;
$custom-light: #c074c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a031ac",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 294.146,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.20298,
    "h": 323.7
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A031AC

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

Preview Lab → · Contrast checker → · Palette generator →

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