#A131C5#A131C5

#A131C5 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.225 H 316.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A131C5
RGBrgb(161, 49, 197)
HSLhsl(285, 60%, 48%)
HSVhsv(285, 75%, 77%)
CMYKcmyk(18.3%, 75.1%, 0%, 22.7%)
CIE-LABlab(43.95, 65.62, -55.05)
CIE-LCHlch(43.95, 85.66, 320.01°)
OKLaboklab(54.6% 0.1626 -0.1551)
OKLCHoklch(54.6% 0.225 316.4)
XYZxyz(25.8727, 13.8060, 54.1145)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131C5 #55C531
analogous
#5731C5 #A131C5 #C5319F
triadic
#A131C5 #C5A131 #31C5A1
tetradic
#A131C5 #C55731 #55C531 #319FC5
square
#A131C5 #C55731 #55C531 #319FC5
split-complementary
#A131C5 #9FC531 #31C557
monochromatic
#511963 #792594 #A131C5 #B95DD7 #CE8EE3

Accessibility & contrast

On white

5.58
#A131C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A131C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131C5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131C5#FFFFFF#000000##FFFFFF
##A131C51.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#306BC2
Tritanopia (blue-blind)
#9F5179
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a131c5;
/* rgb */ color: rgb(161, 49, 197);
/* oklch */ color: oklch(54.6% 0.225 316.4);
Tailwind
colors: {
  custom: {
    50: '#c175d7',
    500: '#a131c5',
    950: '#000000',
  },
}
SCSS
$custom: #a131c5;
$custom-light: #c175d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a131c5",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 285.405,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.2247,
    "h": 316.4
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#A131C5
secondary
#96CD85
accent
#E3446B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A131C5

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

Preview Lab → · Contrast checker → · Palette generator →

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