#A342CC#A342CC

#A342CC is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.212 H 314.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A342CC
RGBrgb(163, 66, 204)
HSLhsl(282, 58%, 53%)
HSVhsv(282, 68%, 80%)
CMYKcmyk(20.1%, 67.6%, 0%, 20%)
CIE-LABlab(47.03, 60.81, -54.14)
CIE-LCHlch(47.03, 81.41, 318.32°)
OKLaboklab(57% 0.1476 -0.1524)
OKLCHoklch(57% 0.212 314.1)
XYZxyz(27.9497, 16.0435, 58.7394)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342CC #6BCC42
analogous
#5E42CC #A342CC #CC42B0
triadic
#A342CC #CCA342 #42CCA3
tetradic
#A342CC #CC5E42 #6BCC42 #42B0CC
square
#A342CC #CC5E42 #6BCC42 #42B0CC
split-complementary
#A342CC #B0CC42 #42CC5E
monochromatic
#5B1F74 #812CA4 #A342CC #BA72D9 #D2A2E6

Accessibility & contrast

On white

4.99
#A342CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A342CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342CC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342CC#FFFFFF#000000##FFFFFF
##A342CC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#9F5E82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a342cc;
/* rgb */ color: rgb(163, 66, 204);
/* oklch */ color: oklch(57.0% 0.212 314.1);
Tailwind
colors: {
  custom: {
    50: '#c27edc',
    500: '#a342cc',
    950: '#000000',
  },
}
SCSS
$custom: #a342cc;
$custom-light: #c27edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a342cc",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 282.174,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.21217,
    "h": 314.1
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#A342CC
secondary
#A9D397
accent
#E14775
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342CC

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

Preview Lab → · Contrast checker → · Palette generator →

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