#A031A3#A031A3

#A031A3 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.196 H 326.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A031A3
RGBrgb(160, 49, 163)
HSLhsl(298, 54%, 42%)
HSVhsv(298, 70%, 64%)
CMYKcmyk(1.8%, 69.9%, 0%, 36.1%)
CIE-LABlab(41.71, 59.18, -38.60)
CIE-LCHlch(41.71, 70.66, 326.89°)
OKLaboklab(52.31% 0.1636 -0.107)
OKLCHoklch(52.31% 0.196 326.8)
XYZxyz(22.2060, 12.3161, 35.8509)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A3 #34A331
analogous
#6731A3 #A031A3 #A3316D
triadic
#A031A3 #A3A031 #31A3A0
tetradic
#A031A3 #A36731 #34A331 #316DA3
square
#A031A3 #A36731 #34A331 #316DA3
split-complementary
#A031A3 #6DA331 #31A367
monochromatic
#441545 #722374 #A031A3 #C549C8 #D478D6

Accessibility & contrast

On white

6.06
#A031A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A031A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031A3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A3#FFFFFF#000000##FFFFFF
##A031A31.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A6
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#A44266
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a031a3;
/* rgb */ color: rgb(160, 49, 163);
/* oklch */ color: oklch(52.3% 0.196 326.8);
Tailwind
colors: {
  custom: {
    50: '#bf73bf',
    500: '#a031a3',
    950: '#000000',
  },
}
SCSS
$custom: #a031a3;
$custom-light: #bf73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a3",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 298.421,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.19553,
    "h": 326.8
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#A031A3
secondary
#73BF71
accent
#DD4B4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A3

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

Preview Lab → · Contrast checker → · Palette generator →

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