#A342AF#A342AF

#A342AF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.185 H 323.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A342AF
RGBrgb(163, 66, 175)
HSLhsl(293, 45%, 47%)
HSVhsv(293, 62%, 69%)
CMYKcmyk(6.9%, 62.3%, 0%, 31.4%)
CIE-LABlab(45.33, 55.10, -39.96)
CIE-LCHlch(45.33, 68.06, 324.05°)
OKLaboklab(55.23% 0.1481 -0.111)
OKLCHoklch(55.23% 0.185 323.1)
XYZxyz(24.7896, 14.7794, 42.0961)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342AF #4EAF42
analogous
#6C42AF #A342AF #AF4285
triadic
#A342AF #AFA342 #42AFA3
tetradic
#A342AF #AF6C42 #4EAF42 #4285AF
square
#A342AF #AF6C42 #4EAF42 #4285AF
split-complementary
#A342AF #85AF42 #42AF6C
monochromatic
#502056 #7A3183 #A342AF #BC68C6 #D095D7

Accessibility & contrast

On white

5.31
#A342AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A342AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342AF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342AF#FFFFFF#000000##FFFFFF
##A342AF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#A65272
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a342af;
/* rgb */ color: rgb(163, 66, 175);
/* oklch */ color: oklch(55.2% 0.185 323.1);
Tailwind
colors: {
  custom: {
    50: '#c17dc7',
    500: '#a342af',
    950: '#000000',
  },
}
SCSS
$custom: #a342af;
$custom-light: #c17dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a342af",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 293.394,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.18508,
    "h": 323.1
  },
  "luminance": 0.14778
}

Semantic roles & 50–950 ramp

primary
#A342AF
secondary
#91C28A
accent
#D55361
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342AF

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

Preview Lab → · Contrast checker → · Palette generator →

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