#A131A5#A131A5

#A131A5 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.198 H 326.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A131A5
RGBrgb(161, 49, 165)
HSLhsl(298, 54%, 42%)
HSVhsv(298, 70%, 65%)
CMYKcmyk(2.4%, 70.3%, 0%, 35.3%)
CIE-LABlab(41.99, 59.76, -39.35)
CIE-LCHlch(41.99, 71.55, 326.64°)
OKLaboklab(52.57% 0.1648 -0.1092)
OKLCHoklch(52.57% 0.198 326.5)
XYZxyz(22.5874, 12.4918, 36.8115)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131A5 #35A531
analogous
#6731A5 #A131A5 #A5316F
triadic
#A131A5 #A5A131 #31A5A1
tetradic
#A131A5 #A56731 #35A531 #316FA5
square
#A131A5 #A56731 #35A531 #316FA5
split-complementary
#A131A5 #6FA531 #31A567
monochromatic
#451547 #732376 #A131A5 #C54AC9 #D479D7

Accessibility & contrast

On white

6.00
#A131A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A131A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131A5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131A5#FFFFFF#000000##FFFFFF
##A131A51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#A54368
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a131a5;
/* rgb */ color: rgb(161, 49, 165);
/* oklch */ color: oklch(52.6% 0.198 326.5);
Tailwind
colors: {
  custom: {
    50: '#c074c0',
    500: '#a131a5',
    950: '#000000',
  },
}
SCSS
$custom: #a131a5;
$custom-light: #c074c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a131a5",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 297.931,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.19766,
    "h": 326.5
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#A131A5
secondary
#75C072
accent
#DE4A4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A131A5

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

Preview Lab → · Contrast checker → · Palette generator →

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