#A342A3#A342A3

#A342A3 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.6% C 0.174 H 327.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A342A3
RGBrgb(163, 66, 163)
HSLhsl(300, 42%, 45%)
HSVhsv(300, 60%, 64%)
CMYKcmyk(0%, 59.5%, 0%, 36.1%)
CIE-LABlab(44.70, 52.90, -33.85)
CIE-LCHlch(44.70, 62.80, 327.39°)
OKLaboklab(54.56% 0.1473 -0.0933)
OKLCHoklch(54.56% 0.174 327.6)
XYZxyz(23.6630, 14.3288, 36.1626)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342A3 #42A342
analogous
#7342A3 #A342A3 #A34273
triadic
#A342A3 #A3A342 #42A3A3
tetradic
#A342A3 #A37342 #42A342 #4273A3
square
#A342A3 #A37342 #42A342 #4273A3
split-complementary
#A342A3 #73A342 #42A373
monochromatic
#4C1F4C #773077 #A342A3 #C063C0 #D18ED1

Accessibility & contrast

On white

5.43
#A342A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A342A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342A3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342A3#FFFFFF#000000##FFFFFF
##A342A31.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A6
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#A84E6C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a342a3;
/* rgb */ color: rgb(163, 66, 163);
/* oklch */ color: oklch(54.6% 0.174 327.6);
Tailwind
colors: {
  custom: {
    50: '#c17cbe',
    500: '#a342a3',
    950: '#000000',
  },
}
SCSS
$custom: #a342a3;
$custom-light: #c17cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a342a3",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 300,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.17436,
    "h": 327.6
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#A342A3
secondary
#84BC84
accent
#D25656
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A342A3

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

Preview Lab → · Contrast checker → · Palette generator →

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