#A342D1#A342D1

#A342D1 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.217 H 312.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A342D1
RGBrgb(163, 66, 209)
HSLhsl(281, 61%, 54%)
HSVhsv(281, 68%, 82%)
CMYKcmyk(22%, 68.4%, 0%, 18%)
CIE-LABlab(47.35, 61.84, -56.50)
CIE-LCHlch(47.35, 83.76, 317.58°)
OKLaboklab(57.33% 0.1472 -0.1594)
OKLCHoklch(57.33% 0.217 312.7)
XYZxyz(28.5590, 16.2872, 61.9486)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342D1 #70D142
analogous
#5C42D1 #A342D1 #D142B8
triadic
#A342D1 #D1A342 #42D1A3
tetradic
#A342D1 #D15C42 #70D142 #42B8D1
square
#A342D1 #D15C42 #70D142 #42B8D1
split-complementary
#A342D1 #B8D142 #42D15C
monochromatic
#5D1E7B #822AAC #A342D1 #BB73DD #D3A4E9

Accessibility & contrast

On white

4.93
#A342D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A342D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342D1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342D1#FFFFFF#000000##FFFFFF
##A342D11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#3572CE
Tritanopia (blue-blind)
#9E6085
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a342d1;
/* rgb */ color: rgb(163, 66, 209);
/* oklch */ color: oklch(57.3% 0.217 312.7);
Tailwind
colors: {
  custom: {
    50: '#c27ee0',
    500: '#a342d1',
    950: '#000000',
  },
}
SCSS
$custom: #a342d1;
$custom-light: #c27ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#a342d1",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 280.699,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.21694,
    "h": 312.7
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#A342D1
secondary
#ADD699
accent
#E44477
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342D1

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

Preview Lab → · Contrast checker → · Palette generator →

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