#A131B2#A131B2

#A131B2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.208 H 322.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A131B2
RGBrgb(161, 49, 178)
HSLhsl(292, 57%, 45%)
HSVhsv(292, 72%, 70%)
CMYKcmyk(9.6%, 72.5%, 0%, 30.2%)
CIE-LABlab(42.75, 62.07, -45.86)
CIE-LCHlch(42.75, 77.17, 323.54°)
OKLaboklab(53.36% 0.1644 -0.1281)
OKLCHoklch(53.36% 0.208 322.1)
XYZxyz(23.8313, 12.9894, 43.3628)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A131B2 #42B231
analogous
#6131B2 #A131B2 #B23183
triadic
#A131B2 #B2A131 #31B2A1
tetradic
#A131B2 #B26131 #42B231 #3183B2
square
#A131B2 #B26131 #42B231 #3183B2
split-complementary
#A131B2 #83B231 #31B261
monochromatic
#4A1752 #762482 #A131B2 #BF51CF #D081DC

Accessibility & contrast

On white

5.84
#A131B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A131B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A131B2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A131B2#FFFFFF#000000##FFFFFF
##A131B21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#A3496F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a131b2;
/* rgb */ color: rgb(161, 49, 178);
/* oklch */ color: oklch(53.4% 0.208 322.1);
Tailwind
colors: {
  custom: {
    50: '#c174ca',
    500: '#a131b2',
    950: '#000000',
  },
}
SCSS
$custom: #a131b2;
$custom-light: #c174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a131b2",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 292.093,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.20846,
    "h": 322.1
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#A131B2
secondary
#83C579
accent
#E0485C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A131B2

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

Preview Lab → · Contrast checker → · Palette generator →

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