#A342C2#A342C2

#A342C2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.4% C 0.203 H 316.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A342C2
RGBrgb(163, 66, 194)
HSLhsl(285, 51%, 51%)
HSVhsv(285, 66%, 76%)
CMYKcmyk(16%, 66%, 0%, 23.9%)
CIE-LABlab(46.42, 58.78, -49.34)
CIE-LCHlch(46.42, 76.74, 319.99°)
OKLaboklab(56.36% 0.1481 -0.1384)
OKLCHoklch(56.36% 0.203 316.9)
XYZxyz(26.7886, 15.5791, 52.6244)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342C2 #61C242
analogous
#6342C2 #A342C2 #C242A1
triadic
#A342C2 #C2A342 #42C2A3
tetradic
#A342C2 #C26342 #61C242 #42A1C2
square
#A342C2 #C26342 #61C242 #42A1C2
split-complementary
#A342C2 #A1C242 #42C263
monochromatic
#572268 #7E3196 #A342C2 #BA70D1 #D09FE0

Accessibility & contrast

On white

5.10
#A342C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A342C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342C2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342C2#FFFFFF#000000##FFFFFF
##A342C21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0968C6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#A25A7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a342c2;
/* rgb */ color: rgb(163, 66, 194);
/* oklch */ color: oklch(56.4% 0.203 316.9);
Tailwind
colors: {
  custom: {
    50: '#c27dd5',
    500: '#a342c2',
    950: '#000000',
  },
}
SCSS
$custom: #a342c2;
$custom-light: #c27dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a342c2",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 285.469,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.20271,
    "h": 316.9
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#A342C2
secondary
#A1CC94
accent
#DB4D6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342C2

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

Preview Lab → · Contrast checker → · Palette generator →

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