#A342AA#A342AA

#A342AA is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.181 H 325.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A342AA
RGBrgb(163, 66, 170)
HSLhsl(296, 44%, 46%)
HSVhsv(296, 61%, 67%)
CMYKcmyk(4.1%, 61.2%, 0%, 33.3%)
CIE-LABlab(45.06, 54.17, -37.43)
CIE-LCHlch(45.06, 65.85, 325.36°)
OKLaboklab(54.94% 0.1478 -0.1037)
OKLCHoklch(54.94% 0.181 325)
XYZxyz(24.3076, 14.5866, 39.5576)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342AA #49AA42
analogous
#6F42AA #A342AA #AA427D
triadic
#A342AA #AAA342 #42AAA3
tetradic
#A342AA #AA6F42 #49AA42 #427DAA
square
#A342AA #AA6F42 #49AA42 #427DAA
split-complementary
#A342AA #7DAA42 #42AA6F
monochromatic
#4E2052 #79317E #A342AA #BD66C3 #D092D5

Accessibility & contrast

On white

5.36
#A342AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A342AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342AA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342AA#FFFFFF#000000##FFFFFF
##A342AA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#A65170
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a342aa;
/* rgb */ color: rgb(163, 66, 170);
/* oklch */ color: oklch(54.9% 0.181 325.0);
Tailwind
colors: {
  custom: {
    50: '#c17dc4',
    500: '#a342aa',
    950: '#000000',
  },
}
SCSS
$custom: #a342aa;
$custom-light: #c17dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a342aa",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 295.962,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.18056,
    "h": 325
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#A342AA
secondary
#8CC088
accent
#D4545D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A342AA

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

Preview Lab → · Contrast checker → · Palette generator →

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