#A031B1#A031B1

#A031B1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.207 H 322.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A031B1
RGBrgb(160, 49, 177)
HSLhsl(292, 57%, 44%)
HSVhsv(292, 72%, 69%)
CMYKcmyk(9.6%, 72.3%, 0%, 30.6%)
CIE-LABlab(42.53, 61.67, -45.62)
CIE-LCHlch(42.53, 76.71, 323.51°)
OKLaboklab(53.16% 0.1633 -0.1275)
OKLCHoklch(53.16% 0.207 322)
XYZxyz(23.5305, 12.8459, 42.8265)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031B1 #42B131
analogous
#6031B1 #A031B1 #B13182
triadic
#A031B1 #B1A031 #31B1A0
tetradic
#A031B1 #B16031 #42B131 #3182B1
square
#A031B1 #B16031 #42B131 #3182B1
split-complementary
#A031B1 #82B131 #31B160
monochromatic
#491651 #752481 #A031B1 #BE51CF #D080DC

Accessibility & contrast

On white

5.88
#A031B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A031B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031B1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031B1#FFFFFF#000000##FFFFFF
##A031B11.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#A2496E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a031b1;
/* rgb */ color: rgb(160, 49, 177);
/* oklch */ color: oklch(53.2% 0.207 322.0);
Tailwind
colors: {
  custom: {
    50: '#c074c9',
    500: '#a031b1',
    950: '#000000',
  },
}
SCSS
$custom: #a031b1;
$custom-light: #c074c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a031b1",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 292.031,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.20719,
    "h": 322
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A031B1

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

Preview Lab → · Contrast checker → · Palette generator →

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