#A326A7#A326A7

#A326A7 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.212 H 326.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A326A7
RGBrgb(163, 38, 167)
HSLhsl(298, 63%, 40%)
HSVhsv(298, 77%, 65%)
CMYKcmyk(2.4%, 77.2%, 0%, 34.5%)
CIE-LABlab(41.16, 64.17, -41.84)
CIE-LCHlch(41.16, 76.60, 326.89°)
OKLaboklab(52.08% 0.1771 -0.1163)
OKLCHoklch(52.08% 0.212 326.7)
XYZxyz(22.7720, 11.9644, 37.6617)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A326A7 #2AA726
analogous
#6326A7 #A326A7 #A7266A
triadic
#A326A7 #A7A326 #26A7A3
tetradic
#A326A7 #A76326 #2AA726 #266AA7
square
#A326A7 #A76326 #2AA726 #266AA7
split-complementary
#A326A7 #6AA726 #26A763
monochromatic
#420F43 #721B75 #A326A7 #CD38D2 #DA6ADD

Accessibility & contrast

On white

6.19
#A326A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A326A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A326A7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A326A7#FFFFFF#000000##FFFFFF
##A326A71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4766A4
Tritanopia (blue-blind)
#A83D66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a326a7;
/* rgb */ color: rgb(163, 38, 167);
/* oklch */ color: oklch(52.1% 0.212 326.7);
Tailwind
colors: {
  custom: {
    50: '#c26fc2',
    500: '#a326a7',
    950: '#000000',
  },
}
SCSS
$custom: #a326a7;
$custom-light: #c26fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a326a7",
  "rgb": {
    "r": 163,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 298.14,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.21189,
    "h": 326.7
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#A326A7
secondary
#68C365
accent
#E64247
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A326A7

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

Preview Lab → · Contrast checker → · Palette generator →

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