#A031BA#A031BA

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

Color values

HEX#A031BA
RGBrgb(160, 49, 186)
HSLhsl(289, 58%, 46%)
HSVhsv(289, 74%, 73%)
CMYKcmyk(14%, 73.7%, 0%, 27.1%)
CIE-LABlab(43.09, 63.34, -50.03)
CIE-LCHlch(43.09, 80.71, 321.69°)
OKLaboklab(53.73% 0.1626 -0.1404)
OKLCHoklch(53.73% 0.215 319.2)
XYZxyz(24.4573, 13.2166, 47.7076)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031BA #4BBA31
analogous
#5B31BA #A031BA #BA318F
triadic
#A031BA #BAA031 #31BAA0
tetradic
#A031BA #BA5B31 #4BBA31 #318FBA
square
#A031BA #BA5B31 #4BBA31 #318FBA
split-complementary
#A031BA #8FBA31 #31BA5B
monochromatic
#4D1759 #76248A #A031BA #BB56D2 #CE86DF

Accessibility & contrast

On white

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

On black

3.64
#A031BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A031BA#FFFFFF#000000##FFFFFF
##A031BA1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#A04D73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a031ba;
/* rgb */ color: rgb(160, 49, 186);
/* oklch */ color: oklch(53.7% 0.215 319.2);
Tailwind
colors: {
  custom: {
    50: '#c074cf',
    500: '#a031ba',
    950: '#000000',
  },
}
SCSS
$custom: #a031ba;
$custom-light: #c074cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a031ba",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 288.613,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.21485,
    "h": 319.2
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#A031BA
secondary
#8CC97E
accent
#E24664
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A031BA

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

Preview Lab → · Contrast checker → · Palette generator →

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