#A342BA#A342BA

#A342BA is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.195 H 319.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A342BA
RGBrgb(163, 66, 186)
HSLhsl(289, 48%, 49%)
HSVhsv(289, 65%, 73%)
CMYKcmyk(12.4%, 64.5%, 0%, 27.1%)
CIE-LABlab(45.95, 57.21, -45.43)
CIE-LCHlch(45.95, 73.05, 321.54°)
OKLaboklab(55.87% 0.1483 -0.127)
OKLCHoklch(55.87% 0.195 319.4)
XYZxyz(25.9143, 15.2293, 48.0194)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342BA #59BA42
analogous
#6742BA #A342BA #BA4295
triadic
#A342BA #BAA342 #42BAA3
tetradic
#A342BA #BA6742 #59BA42 #4295BA
square
#A342BA #BA6742 #59BA42 #4295BA
split-complementary
#A342BA #95BA42 #42BA67
monochromatic
#542260 #7B328D #A342BA #B96ECB #CF9BDB

Accessibility & contrast

On white

5.19
#A342BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A342BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342BA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342BA#FFFFFF#000000##FFFFFF
##A342BA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#A35778
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a342ba;
/* rgb */ color: rgb(163, 66, 186);
/* oklch */ color: oklch(55.9% 0.195 319.4);
Tailwind
colors: {
  custom: {
    50: '#c17dcf',
    500: '#a342ba',
    950: '#000000',
  },
}
SCSS
$custom: #a342ba;
$custom-light: #c17dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a342ba",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 288.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.19521,
    "h": 319.4
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#A342BA
secondary
#9BC890
accent
#D7516A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A342BA

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

Preview Lab → · Contrast checker → · Palette generator →

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