#A131B8#A131B8

#A131B8 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.214 H 320.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A131B8
RGBrgb(161, 49, 184)
HSLhsl(290, 58%, 46%)
HSVhsv(290, 73%, 72%)
CMYKcmyk(12.5%, 73.4%, 0%, 27.8%)
CIE-LABlab(43.12, 63.17, -48.80)
CIE-LCHlch(43.12, 79.82, 322.31°)
OKLaboklab(53.74% 0.164 -0.1368)
OKLCHoklch(53.74% 0.214 320.2)
XYZxyz(24.4469, 13.2356, 46.6051)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131B8 #48B831
analogous
#5D31B8 #A131B8 #B8318B
triadic
#A131B8 #B8A131 #31B8A1
tetradic
#A131B8 #B85D31 #48B831 #318BB8
square
#A131B8 #B85D31 #48B831 #318BB8
split-complementary
#A131B8 #8BB831 #31B85D
monochromatic
#4C1757 #772488 #A131B8 #BC55D2 #CF85DE

Accessibility & contrast

On white

5.76
#A131B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A131B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131B8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131B8#FFFFFF#000000##FFFFFF
##A131B81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#A24C72
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a131b8;
/* rgb */ color: rgb(161, 49, 184);
/* oklch */ color: oklch(53.7% 0.214 320.2);
Tailwind
colors: {
  custom: {
    50: '#c174ce',
    500: '#a131b8',
    950: '#000000',
  },
}
SCSS
$custom: #a131b8;
$custom-light: #c174ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a131b8",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 289.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.21355,
    "h": 320.2
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#A131B8
secondary
#8AC87D
accent
#E14761
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A131B8

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

Preview Lab → · Contrast checker → · Palette generator →

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