#A342A7#A342A7

#A342A7 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.178 H 326.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A342A7
RGBrgb(163, 66, 167)
HSLhsl(298, 43%, 46%)
HSVhsv(298, 60%, 65%)
CMYKcmyk(2.4%, 60.5%, 0%, 34.5%)
CIE-LABlab(44.91, 53.62, -35.90)
CIE-LCHlch(44.91, 64.53, 326.20°)
OKLaboklab(54.78% 0.1476 -0.0993)
OKLCHoklch(54.78% 0.178 326.1)
XYZxyz(24.0270, 14.4744, 38.0800)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342A7 #46A742
analogous
#7042A7 #A342A7 #A74278
triadic
#A342A7 #A7A342 #42A7A3
tetradic
#A342A7 #A77042 #46A742 #4278A7
square
#A342A7 #A77042 #46A742 #4278A7
split-complementary
#A342A7 #78A742 #42A770
monochromatic
#4D1F4F #78317B #A342A7 #BE64C2 #D190D3

Accessibility & contrast

On white

5.39
#A342A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A342A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342A7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342A7#FFFFFF#000000##FFFFFF
##A342A71.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462AA
Deuteranopia (green-blind)
#566FA4
Tritanopia (blue-blind)
#A74F6E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a342a7;
/* rgb */ color: rgb(163, 66, 167);
/* oklch */ color: oklch(54.8% 0.178 326.1);
Tailwind
colors: {
  custom: {
    50: '#c17dc1',
    500: '#a342a7',
    950: '#000000',
  },
}
SCSS
$custom: #a342a7;
$custom-light: #c17dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a342a7",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 297.624,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.17789,
    "h": 326.1
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#A342A7
secondary
#89BE86
accent
#D3555A
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A342A7

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

Preview Lab → · Contrast checker → · Palette generator →

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