#A342C1#A342C1

#A342C1 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.3% C 0.202 H 317.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A342C1
RGBrgb(163, 66, 193)
HSLhsl(286, 51%, 51%)
HSVhsv(286, 66%, 76%)
CMYKcmyk(15.5%, 65.8%, 0%, 24.3%)
CIE-LABlab(46.36, 58.58, -48.85)
CIE-LCHlch(46.36, 76.28, 320.18°)
OKLaboklab(56.3% 0.1482 -0.137)
OKLCHoklch(56.3% 0.202 317.2)
XYZxyz(26.6767, 15.5343, 52.0349)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342C1 #60C142
analogous
#6342C1 #A342C1 #C1429F
triadic
#A342C1 #C1A342 #42C1A3
tetradic
#A342C1 #C16342 #60C142 #429FC1
square
#A342C1 #C16342 #60C142 #429FC1
split-complementary
#A342C1 #9FC142 #42C163
monochromatic
#572267 #7D3195 #A342C1 #B970D0 #D09EDF

Accessibility & contrast

On white

5.11
#A342C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A342C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342C1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342C1#FFFFFF#000000##FFFFFF
##A342C11.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D68C5
Deuteranopia (green-blind)
#4571BE
Tritanopia (blue-blind)
#A2597C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a342c1;
/* rgb */ color: rgb(163, 66, 193);
/* oklch */ color: oklch(56.3% 0.202 317.2);
Tailwind
colors: {
  custom: {
    50: '#c27dd4',
    500: '#a342c1',
    950: '#000000',
  },
}
SCSS
$custom: #a342c1;
$custom-light: #c27dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a342c1",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 285.827,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56299,
    "c": 0.20177,
    "h": 317.2
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#A342C1
secondary
#A1CC93
accent
#DA4E6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342C1

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

Preview Lab → · Contrast checker → · Palette generator →

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