#A331AB#A331AB

#A331AB is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.204 H 325.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A331AB
RGBrgb(163, 49, 171)
HSLhsl(296, 55%, 43%)
HSVhsv(296, 71%, 67%)
CMYKcmyk(4.7%, 71.3%, 0%, 32.9%)
CIE-LABlab(42.65, 61.25, -41.85)
CIE-LCHlch(42.65, 74.18, 325.66°)
OKLaboklab(53.22% 0.167 -0.1164)
OKLCHoklch(53.22% 0.204 325.1)
XYZxyz(23.5527, 12.9249, 39.7744)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331AB #39AB31
analogous
#6631AB #A331AB #AB3176
triadic
#A331AB #ABA331 #31ABA3
tetradic
#A331AB #AB6631 #39AB31 #3176AB
square
#A331AB #AB6631 #39AB31 #3176AB
split-complementary
#A331AB #76AB31 #31AB66
monochromatic
#48164C #76237B #A331AB #C44DCC #D47DDA

Accessibility & contrast

On white

5.86
#A331AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A331AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331AB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331AB#FFFFFF#000000##FFFFFF
##A331AB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAE
Deuteranopia (green-blind)
#4A69A8
Tritanopia (blue-blind)
#A7456B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a331ab;
/* rgb */ color: rgb(163, 49, 171);
/* oklch */ color: oklch(53.2% 0.204 325.1);
Tailwind
colors: {
  custom: {
    50: '#c274c4',
    500: '#a331ab',
    950: '#000000',
  },
}
SCSS
$custom: #a331ab;
$custom-light: #c274c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a331ab",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 296.066,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.20354,
    "h": 325.1
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#A331AB
secondary
#7AC275
accent
#DF4953
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A331AB

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

Preview Lab → · Contrast checker → · Palette generator →

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