#A342A5#A342A5

#A342A5 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.7% C 0.176 H 326.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A342A5
RGBrgb(163, 66, 165)
HSLhsl(299, 43%, 45%)
HSVhsv(299, 60%, 65%)
CMYKcmyk(1.2%, 60%, 0%, 35.3%)
CIE-LABlab(44.80, 53.26, -34.88)
CIE-LCHlch(44.80, 63.66, 326.78°)
OKLaboklab(54.67% 0.1475 -0.0963)
OKLCHoklch(54.67% 0.176 326.9)
XYZxyz(23.8436, 14.4010, 37.1138)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342A5 #44A542
analogous
#7142A5 #A342A5 #A54275
triadic
#A342A5 #A5A342 #42A5A3
tetradic
#A342A5 #A57142 #44A542 #4275A5
square
#A342A5 #A57142 #44A542 #4275A5
split-complementary
#A342A5 #75A542 #42A571
monochromatic
#4D1F4E #783179 #A342A5 #BF63C1 #D18FD2

Accessibility & contrast

On white

5.41
#A342A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A342A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342A5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342A5#FFFFFF#000000##FFFFFF
##A342A51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#576EA2
Tritanopia (blue-blind)
#A74F6D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a342a5;
/* rgb */ color: rgb(163, 66, 165);
/* oklch */ color: oklch(54.7% 0.176 326.9);
Tailwind
colors: {
  custom: {
    50: '#c17cc0',
    500: '#a342a5',
    950: '#000000',
  },
}
SCSS
$custom: #a342a5;
$custom-light: #c17cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a342a5",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 298.788,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.17611,
    "h": 326.9
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#A342A5
secondary
#86BD85
accent
#D35558
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A342A5

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

Preview Lab → · Contrast checker → · Palette generator →

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