#A342D3#A342D3

#A342D3 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.219 H 312.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A342D3
RGBrgb(163, 66, 211)
HSLhsl(280, 62%, 54%)
HSVhsv(280, 69%, 83%)
CMYKcmyk(22.7%, 68.7%, 0%, 17.3%)
CIE-LABlab(47.48, 62.25, -57.44)
CIE-LCHlch(47.48, 84.70, 317.30°)
OKLaboklab(57.46% 0.147 -0.1621)
OKLCHoklch(57.46% 0.219 312.2)
XYZxyz(28.8082, 16.3869, 63.2608)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342D3 #72D342
analogous
#5B42D3 #A342D3 #D342BB
triadic
#A342D3 #D3A342 #42D3A3
tetradic
#A342D3 #D35B42 #72D342 #42BBD3
square
#A342D3 #D35B42 #72D342 #42BBD3
split-complementary
#A342D3 #BBD342 #42D35B
monochromatic
#5E1D7D #8329AF #A342D3 #BB74DF #D3A5EA

Accessibility & contrast

On white

4.91
#A342D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A342D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342D3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342D3#FFFFFF#000000##FFFFFF
##A342D31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#3373D0
Tritanopia (blue-blind)
#9D6086
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a342d3;
/* rgb */ color: rgb(163, 66, 211);
/* oklch */ color: oklch(57.5% 0.219 312.2);
Tailwind
colors: {
  custom: {
    50: '#c27ee1',
    500: '#a342d3',
    950: '#000000',
  },
}
SCSS
$custom: #a342d3;
$custom-light: #c27ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#a342d3",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 280.138,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.21884,
    "h": 312.2
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

primary
#A342D3
secondary
#AED79A
accent
#E54278
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342D3

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

Preview Lab → · Contrast checker → · Palette generator →

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