#A342B7#A342B7

#A342B7 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.192 H 320.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A342B7
RGBrgb(163, 66, 183)
HSLhsl(290, 47%, 49%)
HSVhsv(290, 64%, 72%)
CMYKcmyk(10.9%, 63.9%, 0%, 28.2%)
CIE-LABlab(45.78, 56.62, -43.95)
CIE-LCHlch(45.78, 71.68, 322.18°)
OKLaboklab(55.69% 0.1483 -0.1226)
OKLCHoklch(55.69% 0.192 320.4)
XYZxyz(25.5987, 15.1031, 46.3574)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342B7 #56B742
analogous
#6942B7 #A342B7 #B74291
triadic
#A342B7 #B7A342 #42B7A3
tetradic
#A342B7 #B76942 #56B742 #4291B7
square
#A342B7 #B76942 #56B742 #4291B7
split-complementary
#A342B7 #91B742 #42B769
monochromatic
#53225D #7B328A #A342B7 #BA6CCA #CF99DA

Accessibility & contrast

On white

5.22
#A342B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A342B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342B7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342B7#FFFFFF#000000##FFFFFF
##A342B71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BB
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#A45577
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a342b7;
/* rgb */ color: rgb(163, 66, 183);
/* oklch */ color: oklch(55.7% 0.192 320.4);
Tailwind
colors: {
  custom: {
    50: '#c17dcd',
    500: '#a342b7',
    950: '#000000',
  },
}
SCSS
$custom: #a342b7;
$custom-light: #c17dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#a342b7",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 289.744,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.19243,
    "h": 320.4
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#A342B7
secondary
#98C68F
accent
#D75168
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342B7

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

Preview Lab → · Contrast checker → · Palette generator →

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