#A342A2#A342A2

#A342A2 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.5% C 0.173 H 328.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A342A2
RGBrgb(163, 66, 162)
HSLhsl(301, 42%, 45%)
HSVhsv(301, 60%, 64%)
CMYKcmyk(0%, 59.5%, 0.6%, 36.1%)
CIE-LABlab(44.65, 52.72, -33.33)
CIE-LCHlch(44.65, 62.38, 327.70°)
OKLaboklab(54.51% 0.1472 -0.0918)
OKLCHoklch(54.51% 0.173 328)
XYZxyz(23.5737, 14.2931, 35.6926)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342A2 #42A343
analogous
#7442A3 #A342A2 #A34271
triadic
#A342A2 #A2A342 #42A2A3
tetradic
#A342A2 #A37442 #42A343 #4271A3
square
#A342A2 #A37442 #42A343 #4271A3
split-complementary
#A342A2 #71A342 #42A374
monochromatic
#4C1F4B #773077 #A342A2 #C063BF #D18ED1

Accessibility & contrast

On white

5.44
#A342A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A342A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342A2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342A2#FFFFFF#000000##FFFFFF
##A342A21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#A84E6C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a342a2;
/* rgb */ color: rgb(163, 66, 162);
/* oklch */ color: oklch(54.5% 0.173 328.0);
Tailwind
colors: {
  custom: {
    50: '#c17cbe',
    500: '#a342a2',
    950: '#000000',
  },
}
SCSS
$custom: #a342a2;
$custom-light: #c17cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a342a2",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 300.619,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.17348,
    "h": 328
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#A342A2
secondary
#84BC85
accent
#D25756
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A342A2

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

Preview Lab → · Contrast checker → · Palette generator →

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