#A342C4#A342C4

#A342C4 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.5% C 0.205 H 316.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A342C4
RGBrgb(163, 66, 196)
HSLhsl(285, 52%, 51%)
HSVhsv(285, 66%, 77%)
CMYKcmyk(16.8%, 66.3%, 0%, 23.1%)
CIE-LABlab(46.54, 59.18, -50.31)
CIE-LCHlch(46.54, 77.67, 319.64°)
OKLaboklab(56.49% 0.148 -0.1412)
OKLCHoklch(56.49% 0.205 316.4)
XYZxyz(27.0148, 15.6695, 53.8153)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342C4 #63C442
analogous
#6242C4 #A342C4 #C442A4
triadic
#A342C4 #C4A342 #42C4A3
tetradic
#A342C4 #C46242 #63C442 #42A4C4
square
#A342C4 #C46242 #63C442 #42A4C4
split-complementary
#A342C4 #A4C442 #42C462
monochromatic
#58216A #7E3099 #A342C4 #BA71D3 #D09FE1

Accessibility & contrast

On white

5.08
#A342C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A342C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342C4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342C4#FFFFFF#000000##FFFFFF
##A342C41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#4371C1
Tritanopia (blue-blind)
#A15B7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a342c4;
/* rgb */ color: rgb(163, 66, 196);
/* oklch */ color: oklch(56.5% 0.205 316.4);
Tailwind
colors: {
  custom: {
    50: '#c27dd6',
    500: '#a342c4',
    950: '#000000',
  },
}
SCSS
$custom: #a342c4;
$custom-light: #c27dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a342c4",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 284.769,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.20459,
    "h": 316.4
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#A342C4
secondary
#A3CE94
accent
#DC4C70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342C4

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

Preview Lab → · Contrast checker → · Palette generator →

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