#A131A2#A131A2

#A131A2 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.195 H 327.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A131A2
RGBrgb(161, 49, 162)
HSLhsl(299, 54%, 41%)
HSVhsv(299, 70%, 64%)
CMYKcmyk(0.6%, 69.8%, 0%, 36.5%)
CIE-LABlab(41.82, 59.24, -37.82)
CIE-LCHlch(41.82, 70.29, 327.44°)
OKLaboklab(52.4% 0.1648 -0.1047)
OKLCHoklch(52.4% 0.195 327.6)
XYZxyz(22.3175, 12.3839, 35.3903)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131A2 #32A231
analogous
#6931A2 #A131A2 #A2316B
triadic
#A131A2 #A2A131 #31A2A1
tetradic
#A131A2 #A26931 #32A231 #316BA2
square
#A131A2 #A26931 #32A231 #316BA2
split-complementary
#A131A2 #6BA231 #31A269
monochromatic
#441544 #722373 #A131A2 #C748C8 #D577D6

Accessibility & contrast

On white

6.04
#A131A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A131A2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131A2#FFFFFF#000000##FFFFFF
##A131A21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a131a2;
/* rgb */ color: rgb(161, 49, 162);
/* oklch */ color: oklch(52.4% 0.195 327.6);
Tailwind
colors: {
  custom: {
    50: '#c074be',
    500: '#a131a2',
    950: '#000000',
  },
}
SCSS
$custom: #a131a2;
$custom-light: #c074be;
$custom-dark: #000000;
JSON
{
  "hex": "#a131a2",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 299.469,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.19523,
    "h": 327.6
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#A131A2
secondary
#71BE71
accent
#DD4B4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A131A2

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

Preview Lab → · Contrast checker → · Palette generator →

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