#A342CD#A342CD

#A342CD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.213 H 313.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A342CD
RGBrgb(163, 66, 205)
HSLhsl(282, 58%, 53%)
HSVhsv(282, 68%, 80%)
CMYKcmyk(20.5%, 67.8%, 0%, 19.6%)
CIE-LABlab(47.09, 61.01, -54.61)
CIE-LCHlch(47.09, 81.88, 318.17°)
OKLaboklab(57.06% 0.1475 -0.1538)
OKLCHoklch(57.06% 0.213 313.8)
XYZxyz(28.0700, 16.0916, 59.3731)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342CD #6CCD42
analogous
#5E42CD #A342CD #CD42B1
triadic
#A342CD #CDA342 #42CDA3
tetradic
#A342CD #CD5E42 #6CCD42 #42B1CD
square
#A342CD #CD5E42 #6CCD42 #42B1CD
split-complementary
#A342CD #B1CD42 #42CD5E
monochromatic
#5B1F76 #812CA6 #A342CD #BB72DA #D2A3E7

Accessibility & contrast

On white

4.98
#A342CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A342CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342CD#FFFFFF#000000##FFFFFF
##A342CD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#9F5E82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a342cd;
/* rgb */ color: rgb(163, 66, 205);
/* oklch */ color: oklch(57.1% 0.213 313.8);
Tailwind
colors: {
  custom: {
    50: '#c27edd',
    500: '#a342cd',
    950: '#000000',
  },
}
SCSS
$custom: #a342cd;
$custom-light: #c27edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a342cd",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 281.871,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.21313,
    "h": 313.8
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#A342CD
secondary
#AAD397
accent
#E14675
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342CD

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

Preview Lab → · Contrast checker → · Palette generator →

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