#A342C6#A342C6

#A342C6 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.6% C 0.206 H 315.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A342C6
RGBrgb(163, 66, 198)
HSLhsl(284, 54%, 52%)
HSVhsv(284, 67%, 78%)
CMYKcmyk(17.7%, 66.7%, 0%, 22.4%)
CIE-LABlab(46.66, 59.59, -51.27)
CIE-LCHlch(46.66, 78.61, 319.29°)
OKLaboklab(56.61% 0.148 -0.144)
OKLCHoklch(56.61% 0.206 315.8)
XYZxyz(27.2439, 15.7612, 55.0222)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342C6 #65C642
analogous
#6142C6 #A342C6 #C642A7
triadic
#A342C6 #C6A342 #42C6A3
tetradic
#A342C6 #C66142 #65C642 #42A7C6
square
#A342C6 #C66142 #65C642 #42A7C6
split-complementary
#A342C6 #A7C642 #42C661
monochromatic
#59216D #7F2F9C #A342C6 #BA71D4 #D1A0E2

Accessibility & contrast

On white

5.06
#A342C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A342C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342C6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342C6#FFFFFF#000000##FFFFFF
##A342C61.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#4171C3
Tritanopia (blue-blind)
#A15B7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a342c6;
/* rgb */ color: rgb(163, 66, 198);
/* oklch */ color: oklch(56.6% 0.206 315.8);
Tailwind
colors: {
  custom: {
    50: '#c27dd8',
    500: '#a342c6',
    950: '#000000',
  },
}
SCSS
$custom: #a342c6;
$custom-light: #c27dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a342c6",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 284.091,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.20649,
    "h": 315.8
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#A342C6
secondary
#A4CF95
accent
#DD4B72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342C6

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

Preview Lab → · Contrast checker → · Palette generator →

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