#A331AA#A331AA

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

Color values

HEX#A331AA
RGBrgb(163, 49, 170)
HSLhsl(297, 55%, 43%)
HSVhsv(297, 71%, 67%)
CMYKcmyk(4.1%, 71.2%, 0%, 33.3%)
CIE-LABlab(42.59, 61.08, -41.35)
CIE-LCHlch(42.59, 73.76, 325.90°)
OKLaboklab(53.16% 0.167 -0.1149)
OKLCHoklch(53.16% 0.203 325.5)
XYZxyz(23.4577, 12.8870, 39.2743)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331AA #38AA31
analogous
#6631AA #A331AA #AA3174
triadic
#A331AA #AAA331 #31AAA3
tetradic
#A331AA #AA6631 #38AA31 #3174AA
square
#A331AA #AA6631 #38AA31 #3174AA
split-complementary
#A331AA #74AA31 #31AA66
monochromatic
#48164B #75237A #A331AA #C44DCC #D47CD9

Accessibility & contrast

On white

5.87
#A331AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A331AA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331AA#FFFFFF#000000##FFFFFF
##A331AA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAD
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#A7456A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a331aa;
/* rgb */ color: rgb(163, 49, 170);
/* oklch */ color: oklch(53.2% 0.203 325.5);
Tailwind
colors: {
  custom: {
    50: '#c274c4',
    500: '#a331aa',
    950: '#000000',
  },
}
SCSS
$custom: #a331aa;
$custom-light: #c274c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a331aa",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 296.529,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.20272,
    "h": 325.5
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#A331AA
secondary
#79C275
accent
#DF4952
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A331AA

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

Preview Lab → · Contrast checker → · Palette generator →

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