#A131AF#A131AF

#A131AF is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.206 H 323.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A131AF
RGBrgb(161, 49, 175)
HSLhsl(293, 56%, 44%)
HSVhsv(293, 72%, 69%)
CMYKcmyk(8%, 72%, 0%, 31.4%)
CIE-LABlab(42.57, 61.52, -44.37)
CIE-LCHlch(42.57, 75.86, 324.20°)
OKLaboklab(53.18% 0.1646 -0.1238)
OKLCHoklch(53.18% 0.206 323)
XYZxyz(23.5334, 12.8702, 41.7938)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131AF #3FAF31
analogous
#6231AF #A131AF #AF317E
triadic
#A131AF #AFA131 #31AFA1
tetradic
#A131AF #AF6231 #3FAF31 #317EAF
square
#A131AF #AF6231 #3FAF31 #317EAF
split-complementary
#A131AF #7EAF31 #31AF62
monochromatic
#49164F #75247F #A131AF #C04FCE #D17FDB

Accessibility & contrast

On white

5.88
#A131AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A131AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131AF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131AF#FFFFFF#000000##FFFFFF
##A131AF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#A3486D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a131af;
/* rgb */ color: rgb(161, 49, 175);
/* oklch */ color: oklch(53.2% 0.206 323.0);
Tailwind
colors: {
  custom: {
    50: '#c074c7',
    500: '#a131af',
    950: '#000000',
  },
}
SCSS
$custom: #a131af;
$custom-light: #c074c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a131af",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 293.333,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.20594,
    "h": 323
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#A131AF
secondary
#80C478
accent
#E04859
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A131AF

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

Preview Lab → · Contrast checker → · Palette generator →

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