#A131AA#A131AA

#A131AA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.202 H 324.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A131AA
RGBrgb(161, 49, 170)
HSLhsl(296, 55%, 43%)
HSVhsv(296, 71%, 67%)
CMYKcmyk(5.3%, 71.2%, 0%, 33.3%)
CIE-LABlab(42.27, 60.63, -41.87)
CIE-LCHlch(42.27, 73.69, 325.37°)
OKLaboklab(52.87% 0.1647 -0.1165)
OKLCHoklch(52.87% 0.202 324.7)
XYZxyz(23.0514, 12.6774, 39.2553)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131AA #3AAA31
analogous
#6431AA #A131AA #AA3176
triadic
#A131AA #AAA131 #31AAA1
tetradic
#A131AA #AA6431 #3AAA31 #3176AA
square
#A131AA #AA6431 #3AAA31 #3176AA
split-complementary
#A131AA #76AA31 #31AA64
monochromatic
#47164B #74237A #A131AA #C24DCC #D27CD9

Accessibility & contrast

On white

5.94
#A131AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A131AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131AA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131AA#FFFFFF#000000##FFFFFF
##A131AA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#A4456A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a131aa;
/* rgb */ color: rgb(161, 49, 170);
/* oklch */ color: oklch(52.9% 0.202 324.7);
Tailwind
colors: {
  custom: {
    50: '#c074c4',
    500: '#a131aa',
    950: '#000000',
  },
}
SCSS
$custom: #a131aa;
$custom-light: #c074c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a131aa",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 295.537,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.20178,
    "h": 324.7
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#A131AA
secondary
#7BC275
accent
#DF4954
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A131AA

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

Preview Lab → · Contrast checker → · Palette generator →

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