#A731C2#A731C2

#A731C2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.224 H 319.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A731C2
RGBrgb(167, 49, 194)
HSLhsl(289, 60%, 48%)
HSVhsv(289, 75%, 76%)
CMYKcmyk(13.9%, 74.7%, 0%, 23.9%)
CIE-LABlab(44.67, 66.23, -52.10)
CIE-LCHlch(44.67, 84.27, 321.81°)
OKLaboklab(55.23% 0.1702 -0.1462)
OKLCHoklch(55.23% 0.224 319.3)
XYZxyz(26.7710, 14.3085, 52.3802)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731C2 #4CC231
analogous
#5F31C2 #A731C2 #C23194
triadic
#A731C2 #C2A731 #31C2A7
tetradic
#A731C2 #C25F31 #4CC231 #3194C2
square
#A731C2 #C25F31 #4CC231 #3194C2
split-complementary
#A731C2 #94C231 #31C25F
monochromatic
#531860 #7D2591 #A731C2 #BF5BD6 #D28CE2

Accessibility & contrast

On white

5.44
#A731C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A731C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731C2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731C2#FFFFFF#000000##FFFFFF
##A731C21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#A74F78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a731c2;
/* rgb */ color: rgb(167, 49, 194);
/* oklch */ color: oklch(55.2% 0.224 319.3);
Tailwind
colors: {
  custom: {
    50: '#c576d5',
    500: '#a731c2',
    950: '#000000',
  },
}
SCSS
$custom: #a731c2;
$custom-light: #c576d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a731c2",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 288.828,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55233,
    "c": 0.22438,
    "h": 319.3
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#A731C2
secondary
#90CC83
accent
#E34562
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A731C2

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

Preview Lab → · Contrast checker → · Palette generator →

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