#A342A9#A342A9

#A342A9 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.180 H 325.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A342A9
RGBrgb(163, 66, 169)
HSLhsl(297, 44%, 46%)
HSVhsv(297, 61%, 66%)
CMYKcmyk(3.6%, 60.9%, 0%, 33.7%)
CIE-LABlab(45.01, 53.99, -36.92)
CIE-LCHlch(45.01, 65.41, 325.63°)
OKLaboklab(54.89% 0.1478 -0.1022)
OKLCHoklch(54.89% 0.18 325.3)
XYZxyz(24.2134, 14.5489, 39.0613)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342A9 #48A942
analogous
#6F42A9 #A342A9 #A9427B
triadic
#A342A9 #A9A342 #42A9A3
tetradic
#A342A9 #A96F42 #48A942 #427BA9
square
#A342A9 #A96F42 #48A942 #427BA9
split-complementary
#A342A9 #7BA942 #42A96F
monochromatic
#4E2051 #79317D #A342A9 #BD65C3 #D091D4

Accessibility & contrast

On white

5.37
#A342A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A342A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342A9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342A9#FFFFFF#000000##FFFFFF
##A342A91.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#556FA6
Tritanopia (blue-blind)
#A7506F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a342a9;
/* rgb */ color: rgb(163, 66, 169);
/* oklch */ color: oklch(54.9% 0.180 325.3);
Tailwind
colors: {
  custom: {
    50: '#c17dc3',
    500: '#a342a9',
    950: '#000000',
  },
}
SCSS
$custom: #a342a9;
$custom-light: #c17dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a342a9",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 169
  },
  "hsl": {
    "h": 296.505,
    "s": 43.83,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.17967,
    "h": 325.3
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#A342A9
secondary
#8BC087
accent
#D4545C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A342A9

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

Preview Lab → · Contrast checker → · Palette generator →

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