#A342B4#A342B4

#A342B4 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.190 H 321.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A342B4
RGBrgb(163, 66, 180)
HSLhsl(291, 46%, 48%)
HSVhsv(291, 63%, 71%)
CMYKcmyk(9.4%, 63.3%, 0%, 29.4%)
CIE-LABlab(45.61, 56.05, -42.46)
CIE-LCHlch(45.61, 70.32, 322.85°)
OKLaboklab(55.51% 0.1482 -0.1183)
OKLCHoklch(55.51% 0.19 321.4)
XYZxyz(25.2898, 14.9795, 44.7304)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342B4 #53B442
analogous
#6A42B4 #A342B4 #B4428C
triadic
#A342B4 #B4A342 #42B4A3
tetradic
#A342B4 #B46A42 #53B442 #428CB4
square
#A342B4 #B46A42 #53B442 #428CB4
split-complementary
#A342B4 #8CB442 #42B46A
monochromatic
#52215A #7A3287 #A342B4 #BB6BC9 #CF97D9

Accessibility & contrast

On white

5.26
#A342B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A342B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342B4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342B4#FFFFFF#000000##FFFFFF
##A342B41.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B7
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#A55475
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a342b4;
/* rgb */ color: rgb(163, 66, 180);
/* oklch */ color: oklch(55.5% 0.190 321.4);
Tailwind
colors: {
  custom: {
    50: '#c17dcb',
    500: '#a342b4',
    950: '#000000',
  },
}
SCSS
$custom: #a342b4;
$custom-light: #c17dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#a342b4",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 291.053,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.18966,
    "h": 321.4
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#A342B4
secondary
#95C58D
accent
#D65266
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342B4

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

Preview Lab → · Contrast checker → · Palette generator →

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