#A731AB#A731AB

#A731AB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.205 H 326.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A731AB
RGBrgb(167, 49, 171)
HSLhsl(298, 55%, 43%)
HSVhsv(298, 71%, 67%)
CMYKcmyk(2.3%, 71.3%, 0%, 32.9%)
CIE-LABlab(43.29, 62.14, -40.79)
CIE-LCHlch(43.29, 74.33, 326.72°)
OKLaboklab(53.81% 0.1714 -0.1132)
OKLCHoklch(53.81% 0.205 326.6)
XYZxyz(24.3849, 13.3540, 39.8134)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731AB #35AB31
analogous
#6A31AB #A731AB #AB3172
triadic
#A731AB #ABA731 #31ABA7
tetradic
#A731AB #AB6A31 #35AB31 #3172AB
square
#A731AB #AB6A31 #35AB31 #3172AB
split-complementary
#A731AB #72AB31 #31AB6A
monochromatic
#4A164C #79237B #A731AB #C84DCC #D77DDA

Accessibility & contrast

On white

5.72
#A731AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A731AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731AB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731AB#FFFFFF#000000##FFFFFF
##A731AB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAE
Deuteranopia (green-blind)
#4E6BA8
Tritanopia (blue-blind)
#AC446B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a731ab;
/* rgb */ color: rgb(167, 49, 171);
/* oklch */ color: oklch(53.8% 0.205 326.6);
Tailwind
colors: {
  custom: {
    50: '#c575c4',
    500: '#a731ab',
    950: '#000000',
  },
}
SCSS
$custom: #a731ab;
$custom-light: #c575c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a731ab",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 298.033,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.20545,
    "h": 326.6
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#A731AB
secondary
#78C275
accent
#DF494E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A731AB

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

Preview Lab → · Contrast checker → · Palette generator →

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