#A342B8#A342B8

#A342B8 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.193 H 320.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A342B8
RGBrgb(163, 66, 184)
HSLhsl(289, 47%, 49%)
HSVhsv(289, 64%, 72%)
CMYKcmyk(11.4%, 64.1%, 0%, 27.8%)
CIE-LABlab(45.83, 56.82, -44.44)
CIE-LCHlch(45.83, 72.14, 321.97°)
OKLaboklab(55.75% 0.1483 -0.1241)
OKLCHoklch(55.75% 0.193 320.1)
XYZxyz(25.7031, 15.1449, 46.9075)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342B8 #57B842
analogous
#6842B8 #A342B8 #B84292
triadic
#A342B8 #B8A342 #42B8A3
tetradic
#A342B8 #B86842 #57B842 #4292B8
square
#A342B8 #B86842 #57B842 #4292B8
split-complementary
#A342B8 #92B842 #42B868
monochromatic
#53225E #7B328B #A342B8 #BA6DCB #CF9ADB

Accessibility & contrast

On white

5.21
#A342B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A342B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342B8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342B8#FFFFFF#000000##FFFFFF
##A342B81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BC
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#A45677
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a342b8;
/* rgb */ color: rgb(163, 66, 184);
/* oklch */ color: oklch(55.8% 0.193 320.1);
Tailwind
colors: {
  custom: {
    50: '#c17dce',
    500: '#a342b8',
    950: '#000000',
  },
}
SCSS
$custom: #a342b8;
$custom-light: #c17dce;
$custom-dark: #000000;
JSON
{
  "hex": "#a342b8",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 289.322,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.19336,
    "h": 320.1
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#A342B8
secondary
#99C78F
accent
#D75169
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342B8

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

Preview Lab → · Contrast checker → · Palette generator →

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