#A131C8#A131C8

#A131C8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.227 H 315.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A131C8
RGBrgb(161, 49, 200)
HSLhsl(285, 61%, 49%)
HSVhsv(285, 76%, 78%)
CMYKcmyk(19.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(44.15, 66.20, -56.47)
CIE-LCHlch(44.15, 87.02, 319.54°)
OKLaboklab(54.81% 0.1622 -0.1592)
OKLCHoklch(54.81% 0.227 315.5)
XYZxyz(26.2199, 13.9448, 55.9428)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131C8 #58C831
analogous
#5531C8 #A131C8 #C831A4
triadic
#A131C8 #C8A131 #31C8A1
tetradic
#A131C8 #C85531 #58C831 #31A4C8
square
#A131C8 #C85531 #58C831 #31A4C8
split-complementary
#A131C8 #A4C831 #31C855
monochromatic
#521966 #792597 #A131C8 #B85FD8 #CE90E4

Accessibility & contrast

On white

5.54
#A131C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A131C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131C8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131C8#FFFFFF#000000##FFFFFF
##A131C81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#9E537B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a131c8;
/* rgb */ color: rgb(161, 49, 200);
/* oklch */ color: oklch(54.8% 0.227 315.5);
Tailwind
colors: {
  custom: {
    50: '#c175d9',
    500: '#a131c8',
    950: '#000000',
  },
}
SCSS
$custom: #a131c8;
$custom-light: #c175d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a131c8",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 284.503,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.2273,
    "h": 315.5
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#A131C8
secondary
#99CE86
accent
#E4446D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A131C8

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

Preview Lab → · Contrast checker → · Palette generator →

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