#A342C5#A342C5

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

Color values

HEX#A342C5
RGBrgb(163, 66, 197)
HSLhsl(284, 53%, 52%)
HSVhsv(284, 66%, 77%)
CMYKcmyk(17.3%, 66.5%, 0%, 22.7%)
CIE-LABlab(46.60, 59.38, -50.79)
CIE-LCHlch(46.60, 78.14, 319.46°)
OKLaboklab(56.55% 0.148 -0.1426)
OKLCHoklch(56.55% 0.206 316.1)
XYZxyz(27.1290, 15.7152, 54.4168)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342C5 #64C542
analogous
#6242C5 #A342C5 #C542A6
triadic
#A342C5 #C5A342 #42C5A3
tetradic
#A342C5 #C56242 #64C542 #42A6C5
square
#A342C5 #C56242 #64C542 #42A6C5
split-complementary
#A342C5 #A6C542 #42C562
monochromatic
#58216C #7F2F9A #A342C5 #BA71D3 #D1A0E2

Accessibility & contrast

On white

5.07
#A342C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A342C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342C5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342C5#FFFFFF#000000##FFFFFF
##A342C51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#4271C2
Tritanopia (blue-blind)
#A15B7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a342c5;
/* rgb */ color: rgb(163, 66, 197);
/* oklch */ color: oklch(56.5% 0.206 316.1);
Tailwind
colors: {
  custom: {
    50: '#c27dd7',
    500: '#a342c5',
    950: '#000000',
  },
}
SCSS
$custom: #a342c5;
$custom-light: #c27dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#a342c5",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 284.427,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.20554,
    "h": 316.1
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#A342C5
secondary
#A4CE95
accent
#DC4B71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342C5

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

Preview Lab → · Contrast checker → · Palette generator →

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