#A342C0#A342C0

#A342C0 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.2% C 0.201 H 317.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A342C0
RGBrgb(163, 66, 192)
HSLhsl(286, 50%, 51%)
HSVhsv(286, 66%, 75%)
CMYKcmyk(15.1%, 65.6%, 0%, 24.7%)
CIE-LABlab(46.30, 58.39, -48.37)
CIE-LCHlch(46.30, 75.82, 320.36°)
OKLaboklab(56.24% 0.1482 -0.1355)
OKLCHoklch(56.24% 0.201 317.6)
XYZxyz(26.5655, 15.4898, 51.4494)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342C0 #5FC042
analogous
#6442C0 #A342C0 #C0429E
triadic
#A342C0 #C0A342 #42C0A3
tetradic
#A342C0 #C06442 #5FC042 #429EC0
square
#A342C0 #C06442 #5FC042 #429EC0
split-complementary
#A342C0 #9EC042 #42C064
monochromatic
#562266 #7D3194 #A342C0 #B970CF #D09EDF

Accessibility & contrast

On white

5.12
#A342C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A342C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342C0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342C0#FFFFFF#000000##FFFFFF
##A342C01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1068C4
Deuteranopia (green-blind)
#4671BD
Tritanopia (blue-blind)
#A2597B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a342c0;
/* rgb */ color: rgb(163, 66, 192);
/* oklch */ color: oklch(56.2% 0.201 317.6);
Tailwind
colors: {
  custom: {
    50: '#c27dd4',
    500: '#a342c0',
    950: '#000000',
  },
}
SCSS
$custom: #a342c0;
$custom-light: #c27dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a342c0",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 286.19,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56237,
    "c": 0.20083,
    "h": 317.6
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#A342C0
secondary
#A0CB93
accent
#DA4E6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342C0

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

Preview Lab → · Contrast checker → · Palette generator →

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