#A131A6#A131A6

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

Color values

HEX#A131A6
RGBrgb(161, 49, 166)
HSLhsl(297, 54%, 42%)
HSVhsv(297, 70%, 65%)
CMYKcmyk(3%, 70.5%, 0%, 34.9%)
CIE-LABlab(42.04, 59.93, -39.86)
CIE-LCHlch(42.04, 71.97, 326.37°)
OKLaboklab(52.63% 0.1648 -0.1107)
OKLCHoklch(52.63% 0.198 326.1)
XYZxyz(22.6787, 12.5284, 37.2927)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131A6 #36A631
analogous
#6731A6 #A131A6 #A63171
triadic
#A131A6 #A6A131 #31A6A1
tetradic
#A131A6 #A66731 #36A631 #3171A6
square
#A131A6 #A66731 #36A631 #3171A6
split-complementary
#A131A6 #71A631 #31A667
monochromatic
#451547 #732377 #A131A6 #C44ACA #D47AD8

Accessibility & contrast

On white

5.99
#A131A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A131A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131A6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131A6#FFFFFF#000000##FFFFFF
##A131A61.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA9
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#A54368
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a131a6;
/* rgb */ color: rgb(161, 49, 166);
/* oklch */ color: oklch(52.6% 0.198 326.1);
Tailwind
colors: {
  custom: {
    50: '#c074c1',
    500: '#a131a6',
    950: '#000000',
  },
}
SCSS
$custom: #a131a6;
$custom-light: #c074c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a131a6",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 297.436,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.19849,
    "h": 326.1
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#A131A6
secondary
#76C073
accent
#DE4A50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A131A6

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

Preview Lab → · Contrast checker → · Palette generator →

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