#A331A9#A331A9

#A331A9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.202 H 325.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A331A9
RGBrgb(163, 49, 169)
HSLhsl(297, 55%, 43%)
HSVhsv(297, 71%, 66%)
CMYKcmyk(3.6%, 71%, 0%, 33.7%)
CIE-LABlab(42.54, 60.90, -40.84)
CIE-LCHlch(42.54, 73.33, 326.15°)
OKLaboklab(53.1% 0.167 -0.1135)
OKLCHoklch(53.1% 0.202 325.8)
XYZxyz(23.3635, 12.8493, 38.7780)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331A9 #37A931
analogous
#6731A9 #A331A9 #A93173
triadic
#A331A9 #A9A331 #31A9A3
tetradic
#A331A9 #A96731 #37A931 #3173A9
square
#A331A9 #A96731 #37A931 #3173A9
split-complementary
#A331A9 #73A931 #31A967
monochromatic
#47154A #75237A #A331A9 #C54CCB #D47CD9

Accessibility & contrast

On white

5.88
#A331A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A331A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331A9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331A9#FFFFFF#000000##FFFFFF
##A331A91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145BAC
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#A7446A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a331a9;
/* rgb */ color: rgb(163, 49, 169);
/* oklch */ color: oklch(53.1% 0.202 325.8);
Tailwind
colors: {
  custom: {
    50: '#c274c3',
    500: '#a331a9',
    950: '#000000',
  },
}
SCSS
$custom: #a331a9;
$custom-light: #c274c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a331a9",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 297,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.2019,
    "h": 325.8
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#A331A9
secondary
#78C174
accent
#DE4951
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A331A9

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

Preview Lab → · Contrast checker → · Palette generator →

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