#A131C2#A131C2

#A131C2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.222 H 317.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A131C2
RGBrgb(161, 49, 194)
HSLhsl(286, 60%, 48%)
HSVhsv(286, 75%, 76%)
CMYKcmyk(17%, 74.7%, 0%, 23.9%)
CIE-LABlab(43.76, 65.05, -53.63)
CIE-LCHlch(43.76, 84.30, 320.50°)
OKLaboklab(54.4% 0.163 -0.1509)
OKLCHoklch(54.4% 0.222 317.2)
XYZxyz(25.5324, 13.6698, 52.3221)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131C2 #52C231
analogous
#5931C2 #A131C2 #C2319A
triadic
#A131C2 #C2A131 #31C2A1
tetradic
#A131C2 #C25931 #52C231 #319AC2
square
#A131C2 #C25931 #52C231 #319AC2
split-complementary
#A131C2 #9AC231 #31C259
monochromatic
#501860 #782591 #A131C2 #BA5BD6 #CE8CE2

Accessibility & contrast

On white

5.62
#A131C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A131C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131C2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131C2#FFFFFF#000000##FFFFFF
##A131C21.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#346BBF
Tritanopia (blue-blind)
#9F5078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a131c2;
/* rgb */ color: rgb(161, 49, 194);
/* oklch */ color: oklch(54.4% 0.222 317.2);
Tailwind
colors: {
  custom: {
    50: '#c175d5',
    500: '#a131c2',
    950: '#000000',
  },
}
SCSS
$custom: #a131c2;
$custom-light: #c175d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a131c2",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 286.345,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.22212,
    "h": 317.2
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#A131C2
secondary
#93CC83
accent
#E34569
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A131C2

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

Preview Lab → · Contrast checker → · Palette generator →

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