#A731C5#A731C5

#A731C5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.227 H 318.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A731C5
RGBrgb(167, 49, 197)
HSLhsl(288, 60%, 48%)
HSVhsv(288, 75%, 77%)
CMYKcmyk(15.2%, 75.1%, 0%, 22.7%)
CIE-LABlab(44.86, 66.79, -53.54)
CIE-LCHlch(44.86, 85.60, 321.28°)
OKLaboklab(55.43% 0.1698 -0.1505)
OKLCHoklch(55.43% 0.227 318.5)
XYZxyz(27.1113, 14.4446, 54.1725)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731C5 #4FC531
analogous
#5D31C5 #A731C5 #C53199
triadic
#A731C5 #C5A731 #31C5A7
tetradic
#A731C5 #C55D31 #4FC531 #3199C5
square
#A731C5 #C55D31 #4FC531 #3199C5
split-complementary
#A731C5 #99C531 #31C55D
monochromatic
#541963 #7D2594 #A731C5 #BE5DD7 #D28EE3

Accessibility & contrast

On white

5.40
#A731C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A731C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731C5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731C5#FFFFFF#000000##FFFFFF
##A731C51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#A65079
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a731c5;
/* rgb */ color: rgb(167, 49, 197);
/* oklch */ color: oklch(55.4% 0.227 318.5);
Tailwind
colors: {
  custom: {
    50: '#c576d7',
    500: '#a731c5',
    950: '#000000',
  },
}
SCSS
$custom: #a731c5;
$custom-light: #c576d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a731c5",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 287.838,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5543,
    "c": 0.2269,
    "h": 318.5
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#A731C5
secondary
#93CD85
accent
#E34465
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A731C5

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

Preview Lab → · Contrast checker → · Palette generator →

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