#A131A3#A131A3

#A131A3 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.196 H 327.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A131A3
RGBrgb(161, 49, 163)
HSLhsl(299, 54%, 42%)
HSVhsv(299, 70%, 64%)
CMYKcmyk(1.2%, 69.9%, 0%, 36.1%)
CIE-LABlab(41.88, 59.41, -38.33)
CIE-LCHlch(41.88, 70.71, 327.17°)
OKLaboklab(52.46% 0.1648 -0.1062)
OKLCHoklch(52.46% 0.196 327.2)
XYZxyz(22.4068, 12.4196, 35.8603)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131A3 #33A331
analogous
#6831A3 #A131A3 #A3316C
triadic
#A131A3 #A3A131 #31A3A1
tetradic
#A131A3 #A36831 #33A331 #316CA3
square
#A131A3 #A36831 #33A331 #316CA3
split-complementary
#A131A3 #6CA331 #31A368
monochromatic
#441545 #732374 #A131A3 #C649C8 #D578D6

Accessibility & contrast

On white

6.03
#A131A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A131A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131A3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131A3#FFFFFF#000000##FFFFFF
##A131A31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA6
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#A64266
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a131a3;
/* rgb */ color: rgb(161, 49, 163);
/* oklch */ color: oklch(52.5% 0.196 327.2);
Tailwind
colors: {
  custom: {
    50: '#c074bf',
    500: '#a131a3',
    950: '#000000',
  },
}
SCSS
$custom: #a131a3;
$custom-light: #c074bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a131a3",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 298.947,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.19603,
    "h": 327.2
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#A131A3
secondary
#72BF71
accent
#DD4B4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A131A3

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

Preview Lab → · Contrast checker → · Palette generator →

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