#A342C7#A342C7

#A342C7 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.207 H 315.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A342C7
RGBrgb(163, 66, 199)
HSLhsl(284, 54%, 52%)
HSVhsv(284, 67%, 78%)
CMYKcmyk(18.1%, 66.8%, 0%, 22%)
CIE-LABlab(46.72, 59.79, -51.75)
CIE-LCHlch(46.72, 79.07, 319.12°)
OKLaboklab(56.68% 0.1479 -0.1454)
OKLCHoklch(56.68% 0.207 315.5)
XYZxyz(27.3596, 15.8075, 55.6317)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342C7 #66C742
analogous
#6042C7 #A342C7 #C742A9
triadic
#A342C7 #C7A342 #42C7A3
tetradic
#A342C7 #C76042 #66C742 #42A9C7
square
#A342C7 #C76042 #66C742 #42A9C7
split-complementary
#A342C7 #A9C742 #42C760
monochromatic
#59216E #7F2F9D #A342C7 #BA71D5 #D1A0E3

Accessibility & contrast

On white

5.05
#A342C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A342C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342C7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342C7#FFFFFF#000000##FFFFFF
##A342C71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4071C4
Tritanopia (blue-blind)
#A05C7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a342c7;
/* rgb */ color: rgb(163, 66, 199);
/* oklch */ color: oklch(56.7% 0.207 315.5);
Tailwind
colors: {
  custom: {
    50: '#c27dd9',
    500: '#a342c7',
    950: '#000000',
  },
}
SCSS
$custom: #a342c7;
$custom-light: #c27dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a342c7",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 283.759,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.20743,
    "h": 315.5
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#A342C7
secondary
#A5D095
accent
#DE4A72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342C7

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

Preview Lab → · Contrast checker → · Palette generator →

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