#A342C3#A342C3

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

Color values

HEX#A342C3
RGBrgb(163, 66, 195)
HSLhsl(285, 52%, 51%)
HSVhsv(285, 66%, 76%)
CMYKcmyk(16.4%, 66.2%, 0%, 23.5%)
CIE-LABlab(46.48, 58.98, -49.82)
CIE-LCHlch(46.48, 77.21, 319.81°)
OKLaboklab(56.42% 0.1481 -0.1398)
OKLCHoklch(56.42% 0.204 316.6)
XYZxyz(26.9013, 15.6241, 53.2179)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342C3 #62C342
analogous
#6242C3 #A342C3 #C342A2
triadic
#A342C3 #C3A342 #42C3A3
tetradic
#A342C3 #C36242 #62C342 #42A2C3
square
#A342C3 #C36242 #62C342 #42A2C3
split-complementary
#A342C3 #A2C342 #42C362
monochromatic
#572169 #7E3098 #A342C3 #BA70D2 #D09FE0

Accessibility & contrast

On white

5.09
#A342C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A342C3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342C3#FFFFFF#000000##FFFFFF
##A342C31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0468C7
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#A15A7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a342c3;
/* rgb */ color: rgb(163, 66, 195);
/* oklch */ color: oklch(56.4% 0.204 316.6);
Tailwind
colors: {
  custom: {
    50: '#c27dd6',
    500: '#a342c3',
    950: '#000000',
  },
}
SCSS
$custom: #a342c3;
$custom-light: #c27dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a342c3",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 285.116,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.20365,
    "h": 316.6
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#A342C3
secondary
#A2CD94
accent
#DB4D70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342C3

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

Preview Lab → · Contrast checker → · Palette generator →

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