#A731BA#A731BA

#A731BA is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.218 H 321.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A731BA
RGBrgb(167, 49, 186)
HSLhsl(292, 58%, 46%)
HSVhsv(292, 74%, 73%)
CMYKcmyk(10.2%, 73.7%, 0%, 27.1%)
CIE-LABlab(44.17, 64.77, -48.23)
CIE-LCHlch(44.17, 80.76, 323.33°)
OKLaboklab(54.72% 0.1709 -0.1349)
OKLCHoklch(54.72% 0.218 321.7)
XYZxyz(25.8966, 13.9587, 47.7751)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731BA #44BA31
analogous
#6231BA #A731BA #BA3188
triadic
#A731BA #BAA731 #31BAA7
tetradic
#A731BA #BA6231 #44BA31 #3188BA
square
#A731BA #BA6231 #44BA31 #3188BA
split-complementary
#A731BA #88BA31 #31BA62
monochromatic
#501759 #7C248A #A731BA #C156D2 #D386DF

Accessibility & contrast

On white

5.54
#A731BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A731BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731BA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731BA#FFFFFF#000000##FFFFFF
##A731BA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#436DB7
Tritanopia (blue-blind)
#A94B73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a731ba;
/* rgb */ color: rgb(167, 49, 186);
/* oklch */ color: oklch(54.7% 0.218 321.7);
Tailwind
colors: {
  custom: {
    50: '#c575cf',
    500: '#a731ba',
    950: '#000000',
  },
}
SCSS
$custom: #a731ba;
$custom-light: #c575cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a731ba",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 291.679,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.2177,
    "h": 321.7
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#A731BA
secondary
#88C97E
accent
#E2465C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A731BA

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

Preview Lab → · Contrast checker → · Palette generator →

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