#A031A7#A031A7

#A031A7 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.199 H 325.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A031A7
RGBrgb(160, 49, 167)
HSLhsl(296, 55%, 42%)
HSVhsv(296, 71%, 65%)
CMYKcmyk(4.2%, 70.7%, 0%, 34.5%)
CIE-LABlab(41.94, 59.88, -40.63)
CIE-LCHlch(41.94, 72.36, 325.84°)
OKLaboklab(52.54% 0.1636 -0.1129)
OKLCHoklch(52.54% 0.199 325.4)
XYZxyz(22.5701, 12.4617, 37.7683)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A7 #38A731
analogous
#6531A7 #A031A7 #A73173
triadic
#A031A7 #A7A031 #31A7A0
tetradic
#A031A7 #A76531 #38A731 #3173A7
square
#A031A7 #A76531 #38A731 #3173A7
split-complementary
#A031A7 #73A731 #31A765
monochromatic
#451548 #732378 #A031A7 #C34BCA #D37AD8

Accessibility & contrast

On white

6.01
#A031A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A031A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031A7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A7#FFFFFF#000000##FFFFFF
##A031A71.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AAA
Deuteranopia (green-blind)
#4968A4
Tritanopia (blue-blind)
#A44469
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a031a7;
/* rgb */ color: rgb(160, 49, 167);
/* oklch */ color: oklch(52.5% 0.199 325.4);
Tailwind
colors: {
  custom: {
    50: '#c074c2',
    500: '#a031a7',
    950: '#000000',
  },
}
SCSS
$custom: #a031a7;
$custom-light: #c074c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a7",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 296.441,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.19882,
    "h": 325.4
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#A031A7
secondary
#78C173
accent
#DE4A53
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A7

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

Preview Lab → · Contrast checker → · Palette generator →

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