#A342AC#A342AC

#A342AC is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.182 H 324.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A342AC
RGBrgb(163, 66, 172)
HSLhsl(295, 45%, 47%)
HSVhsv(295, 62%, 67%)
CMYKcmyk(5.2%, 61.6%, 0%, 32.5%)
CIE-LABlab(45.17, 54.54, -38.44)
CIE-LCHlch(45.17, 66.73, 324.82°)
OKLaboklab(55.06% 0.1479 -0.1066)
OKLCHoklch(55.06% 0.182 324.2)
XYZxyz(24.4982, 14.6629, 40.5616)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342AC #4BAC42
analogous
#6E42AC #A342AC #AC4280
triadic
#A342AC #ACA342 #42ACA3
tetradic
#A342AC #AC6E42 #4BAC42 #4280AC
square
#A342AC #AC6E42 #4BAC42 #4280AC
split-complementary
#A342AC #80AC42 #42AC6E
monochromatic
#4F2054 #793180 #A342AC #BD67C5 #D093D6

Accessibility & contrast

On white

5.34
#A342AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A342AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342AC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342AC#FFFFFF#000000##FFFFFF
##A342AC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#A65171
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a342ac;
/* rgb */ color: rgb(163, 66, 172);
/* oklch */ color: oklch(55.1% 0.182 324.2);
Tailwind
colors: {
  custom: {
    50: '#c17dc5',
    500: '#a342ac',
    950: '#000000',
  },
}
SCSS
$custom: #a342ac;
$custom-light: #c17dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a342ac",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 294.906,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.18236,
    "h": 324.2
  },
  "luminance": 0.14662
}

Semantic roles & 50–950 ramp

primary
#A342AC
secondary
#8EC189
accent
#D4545E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342AC

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

Preview Lab → · Contrast checker → · Palette generator →

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