#A326A8#A326A8

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

Color values

HEX#A326A8
RGBrgb(163, 38, 168)
HSLhsl(298, 63%, 40%)
HSVhsv(298, 77%, 66%)
CMYKcmyk(3%, 77.4%, 0%, 34.1%)
CIE-LABlab(41.22, 64.33, -42.34)
CIE-LCHlch(41.22, 77.02, 326.65°)
OKLaboklab(52.14% 0.1771 -0.1178)
OKLCHoklch(52.14% 0.213 326.4)
XYZxyz(22.8648, 12.0015, 38.1504)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A326A8 #2BA826
analogous
#6226A8 #A326A8 #A8266C
triadic
#A326A8 #A8A326 #26A8A3
tetradic
#A326A8 #A86226 #2BA826 #266CA8
square
#A326A8 #A86226 #2BA826 #266CA8
split-complementary
#A326A8 #6CA826 #26A862
monochromatic
#420F44 #731B76 #A326A8 #CC39D2 #D96BDE

Accessibility & contrast

On white

6.18
#A326A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A326A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A326A8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A326A8#FFFFFF#000000##FFFFFF
##A326A81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#A73D66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a326a8;
/* rgb */ color: rgb(163, 38, 168);
/* oklch */ color: oklch(52.1% 0.213 326.4);
Tailwind
colors: {
  custom: {
    50: '#c26fc2',
    500: '#a326a8',
    950: '#000000',
  },
}
SCSS
$custom: #a326a8;
$custom-light: #c26fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a326a8",
  "rgb": {
    "r": 163,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 297.692,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.21267,
    "h": 326.4
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#A326A8
secondary
#6AC466
accent
#E64248
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A326A8

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

Preview Lab → · Contrast checker → · Palette generator →

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