#A031A2#A031A2

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

Color values

HEX#A031A2
RGBrgb(160, 49, 162)
HSLhsl(299, 54%, 41%)
HSVhsv(299, 70%, 64%)
CMYKcmyk(1.2%, 69.8%, 0%, 36.5%)
CIE-LABlab(41.66, 59.01, -38.09)
CIE-LCHlch(41.66, 70.23, 327.16°)
OKLaboklab(52.25% 0.1636 -0.1055)
OKLCHoklch(52.25% 0.195 327.2)
XYZxyz(22.1168, 12.2804, 35.3809)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A2 #33A231
analogous
#6831A2 #A031A2 #A2316C
triadic
#A031A2 #A2A031 #31A2A0
tetradic
#A031A2 #A26831 #33A231 #316CA2
square
#A031A2 #A26831 #33A231 #316CA2
split-complementary
#A031A2 #6CA231 #31A268
monochromatic
#431544 #722373 #A031A2 #C648C8 #D477D6

Accessibility & contrast

On white

6.08
#A031A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A031A2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A2#FFFFFF#000000##FFFFFF
##A031A21.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A54266
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a031a2;
/* rgb */ color: rgb(160, 49, 162);
/* oklch */ color: oklch(52.3% 0.195 327.2);
Tailwind
colors: {
  custom: {
    50: '#bf73be',
    500: '#a031a2',
    950: '#000000',
  },
}
SCSS
$custom: #a031a2;
$custom-light: #bf73be;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a2",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 298.938,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.19471,
    "h": 327.2
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#A031A2
secondary
#72BE71
accent
#DD4B4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A2

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

Preview Lab → · Contrast checker → · Palette generator →

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