#A342D0#A342D0

#A342D0 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.216 H 313.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A342D0
RGBrgb(163, 66, 208)
HSLhsl(281, 60%, 54%)
HSVhsv(281, 68%, 82%)
CMYKcmyk(21.6%, 68.3%, 0%, 18.4%)
CIE-LABlab(47.29, 61.63, -56.03)
CIE-LCHlch(47.29, 83.29, 317.72°)
OKLaboklab(57.26% 0.1473 -0.158)
OKLCHoklch(57.26% 0.216 313)
XYZxyz(28.4356, 16.2379, 61.2986)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342D0 #6FD042
analogous
#5C42D0 #A342D0 #D042B6
triadic
#A342D0 #D0A342 #42D0A3
tetradic
#A342D0 #D05C42 #6FD042 #42B6D0
square
#A342D0 #D05C42 #6FD042 #42B6D0
split-complementary
#A342D0 #B6D042 #42D05C
monochromatic
#5D1E79 #822AAA #A342D0 #BB73DC #D3A4E8

Accessibility & contrast

On white

4.94
#A342D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A342D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342D0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342D0#FFFFFF#000000##FFFFFF
##A342D01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#3772CD
Tritanopia (blue-blind)
#9E5F84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a342d0;
/* rgb */ color: rgb(163, 66, 208);
/* oklch */ color: oklch(57.3% 0.216 313.0);
Tailwind
colors: {
  custom: {
    50: '#c27edf',
    500: '#a342d0',
    950: '#000000',
  },
}
SCSS
$custom: #a342d0;
$custom-light: #c27edf;
$custom-dark: #000000;
JSON
{
  "hex": "#a342d0",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 280.986,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.21598,
    "h": 313
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

primary
#A342D0
secondary
#ACD599
accent
#E34477
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342D0

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

Preview Lab → · Contrast checker → · Palette generator →

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