#A342CA#A342CA

#A342CA is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.210 H 314.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A342CA
RGBrgb(163, 66, 202)
HSLhsl(283, 56%, 53%)
HSVhsv(283, 67%, 79%)
CMYKcmyk(19.3%, 67.3%, 0%, 20.8%)
CIE-LABlab(46.91, 60.40, -53.18)
CIE-LCHlch(46.91, 80.48, 318.63°)
OKLaboklab(56.87% 0.1477 -0.1496)
OKLCHoklch(56.87% 0.21 314.6)
XYZxyz(27.7114, 15.9482, 57.4842)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342CA #69CA42
analogous
#5F42CA #A342CA #CA42AD
triadic
#A342CA #CAA342 #42CAA3
tetradic
#A342CA #CA5F42 #69CA42 #42ADCA
square
#A342CA #CA5F42 #69CA42 #42ADCA
split-complementary
#A342CA #ADCA42 #42CA5F
monochromatic
#5A2072 #802DA2 #A342CA #BA72D7 #D2A2E5

Accessibility & contrast

On white

5.01
#A342CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A342CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342CA#FFFFFF#000000##FFFFFF
##A342CA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#A05D81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a342ca;
/* rgb */ color: rgb(163, 66, 202);
/* oklch */ color: oklch(56.9% 0.210 314.6);
Tailwind
colors: {
  custom: {
    50: '#c27edb',
    500: '#a342ca',
    950: '#000000',
  },
}
SCSS
$custom: #a342ca;
$custom-light: #c27edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a342ca",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 282.794,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.21027,
    "h": 314.6
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#A342CA
secondary
#A7D196
accent
#DF4874
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342CA

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

Preview Lab → · Contrast checker → · Palette generator →

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