#A031A1#A031A1

#A031A1 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.194 H 327.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A031A1
RGBrgb(160, 49, 161)
HSLhsl(299, 53%, 41%)
HSVhsv(299, 70%, 63%)
CMYKcmyk(0.6%, 69.6%, 0%, 36.9%)
CIE-LABlab(41.60, 58.84, -37.58)
CIE-LCHlch(41.60, 69.81, 327.44°)
OKLaboklab(52.19% 0.1636 -0.1041)
OKLCHoklch(52.19% 0.194 327.5)
XYZxyz(22.0282, 12.2449, 34.9146)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A1 #32A131
analogous
#6831A1 #A031A1 #A1316A
triadic
#A031A1 #A1A031 #31A1A0
tetradic
#A031A1 #A16831 #32A131 #316AA1
square
#A031A1 #A16831 #32A131 #316AA1
split-complementary
#A031A1 #6AA131 #31A168
monochromatic
#431443 #712372 #A031A1 #C648C7 #D577D6

Accessibility & contrast

On white

6.09
#A031A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A031A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031A1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A1#FFFFFF#000000##FFFFFF
##A031A11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A4
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#A54165
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a031a1;
/* rgb */ color: rgb(160, 49, 161);
/* oklch */ color: oklch(52.2% 0.194 327.5);
Tailwind
colors: {
  custom: {
    50: '#bf73bd',
    500: '#a031a1',
    950: '#000000',
  },
}
SCSS
$custom: #a031a1;
$custom-light: #bf73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a1",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 299.464,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.19391,
    "h": 327.5
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#A031A1
secondary
#71BE70
accent
#DD4B4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A1

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

Preview Lab → · Contrast checker → · Palette generator →

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