#A342CF#A342CF

#A342CF is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.215 H 313.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A342CF
RGBrgb(163, 66, 207)
HSLhsl(281, 59%, 54%)
HSVhsv(281, 68%, 81%)
CMYKcmyk(21.3%, 68.1%, 0%, 18.8%)
CIE-LABlab(47.22, 61.42, -55.56)
CIE-LCHlch(47.22, 82.82, 317.87°)
OKLaboklab(57.19% 0.1473 -0.1566)
OKLCHoklch(57.19% 0.215 313.3)
XYZxyz(28.3130, 16.1888, 60.6527)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342CF #6ECF42
analogous
#5C42CF #A342CF #CF42B4
triadic
#A342CF #CFA342 #42CFA3
tetradic
#A342CF #CF5C42 #6ECF42 #42B4CF
square
#A342CF #CF5C42 #6ECF42 #42B4CF
split-complementary
#A342CF #B4CF42 #42CF5C
monochromatic
#5C1F78 #822BA9 #A342CF #BB73DB #D3A4E8

Accessibility & contrast

On white

4.96
#A342CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A342CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342CF#FFFFFF#000000##FFFFFF
##A342CF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#9E5F84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a342cf;
/* rgb */ color: rgb(163, 66, 207);
/* oklch */ color: oklch(57.2% 0.215 313.3);
Tailwind
colors: {
  custom: {
    50: '#c27ede',
    500: '#a342cf',
    950: '#000000',
  },
}
SCSS
$custom: #a342cf;
$custom-light: #c27ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a342cf",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 281.277,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.21503,
    "h": 313.3
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#A342CF
secondary
#ABD598
accent
#E34576
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342CF

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

Preview Lab → · Contrast checker → · Palette generator →

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