#A331A5#A331A5

#A331A5 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.199 H 327.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A331A5
RGBrgb(163, 49, 165)
HSLhsl(299, 54%, 42%)
HSVhsv(299, 70%, 65%)
CMYKcmyk(1.2%, 70.3%, 0%, 35.3%)
CIE-LABlab(42.31, 60.21, -38.82)
CIE-LCHlch(42.31, 71.64, 327.19°)
OKLaboklab(52.87% 0.167 -0.1076)
OKLCHoklch(52.87% 0.199 327.2)
XYZxyz(22.9937, 12.7014, 36.8305)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331A5 #33A531
analogous
#6931A5 #A331A5 #A5316D
triadic
#A331A5 #A5A331 #31A5A3
tetradic
#A331A5 #A56931 #33A531 #316DA5
square
#A331A5 #A56931 #33A531 #316DA5
split-complementary
#A331A5 #6DA531 #31A569
monochromatic
#461547 #742376 #A331A5 #C74AC9 #D679D7

Accessibility & contrast

On white

5.93
#A331A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A331A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331A5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331A5#FFFFFF#000000##FFFFFF
##A331A51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA8
Deuteranopia (green-blind)
#4D69A2
Tritanopia (blue-blind)
#A84368
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a331a5;
/* rgb */ color: rgb(163, 49, 165);
/* oklch */ color: oklch(52.9% 0.199 327.2);
Tailwind
colors: {
  custom: {
    50: '#c274c0',
    500: '#a331a5',
    950: '#000000',
  },
}
SCSS
$custom: #a331a5;
$custom-light: #c274c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a331a5",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 298.966,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.19865,
    "h": 327.2
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#A331A5
secondary
#73C072
accent
#DE4A4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A331A5

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

Preview Lab → · Contrast checker → · Palette generator →

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