#A031B4#A031B4

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

Color values

HEX#A031B4
RGBrgb(160, 49, 180)
HSLhsl(291, 57%, 45%)
HSVhsv(291, 73%, 71%)
CMYKcmyk(11.1%, 72.8%, 0%, 29.4%)
CIE-LABlab(42.71, 62.22, -47.10)
CIE-LCHlch(42.71, 78.04, 322.87°)
OKLaboklab(53.35% 0.1631 -0.1318)
OKLCHoklch(53.35% 0.21 321.1)
XYZxyz(23.8328, 12.9668, 44.4187)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031B4 #45B431
analogous
#5F31B4 #A031B4 #B43186
triadic
#A031B4 #B4A031 #31B4A0
tetradic
#A031B4 #B45F31 #45B431 #3186B4
square
#A031B4 #B45F31 #45B431 #3186B4
split-complementary
#A031B4 #86B431 #31B45F
monochromatic
#4A1754 #752484 #A031B4 #BD52D0 #CF82DD

Accessibility & contrast

On white

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

On black

3.59
#A031B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A031B4#FFFFFF#000000##FFFFFF
##A031B41.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#4069B1
Tritanopia (blue-blind)
#A14A70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a031b4;
/* rgb */ color: rgb(160, 49, 180);
/* oklch */ color: oklch(53.3% 0.210 321.1);
Tailwind
colors: {
  custom: {
    50: '#c074cb',
    500: '#a031b4',
    950: '#000000',
  },
}
SCSS
$custom: #a031b4;
$custom-light: #c074cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a031b4",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 290.84,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.20973,
    "h": 321.1
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#A031B4
secondary
#86C67B
accent
#E0475F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A031B4

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

Preview Lab → · Contrast checker → · Palette generator →

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