#A342B2#A342B2

#A342B2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.188 H 322.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A342B2
RGBrgb(163, 66, 178)
HSLhsl(292, 46%, 48%)
HSVhsv(292, 63%, 70%)
CMYKcmyk(8.4%, 62.9%, 0%, 30.2%)
CIE-LABlab(45.49, 55.67, -41.46)
CIE-LCHlch(45.49, 69.41, 323.32°)
OKLaboklab(55.4% 0.1482 -0.1154)
OKLCHoklch(55.4% 0.188 322.1)
XYZxyz(25.0875, 14.8986, 43.6651)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342B2 #51B242
analogous
#6B42B2 #A342B2 #B24289
triadic
#A342B2 #B2A342 #42B2A3
tetradic
#A342B2 #B26B42 #51B242 #4289B2
square
#A342B2 #B26B42 #51B242 #4289B2
split-complementary
#A342B2 #89B242 #42B26B
monochromatic
#512159 #7A3185 #A342B2 #BB6AC8 #CF96D8

Accessibility & contrast

On white

5.28
#A342B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A342B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342B2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342B2#FFFFFF#000000##FFFFFF
##A342B21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#A55474
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a342b2;
/* rgb */ color: rgb(163, 66, 178);
/* oklch */ color: oklch(55.4% 0.188 322.1);
Tailwind
colors: {
  custom: {
    50: '#c17dc9',
    500: '#a342b2',
    950: '#000000',
  },
}
SCSS
$custom: #a342b2;
$custom-light: #c17dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a342b2",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 291.964,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.18782,
    "h": 322.1
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#A342B2
secondary
#93C48C
accent
#D65264
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342B2

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

Preview Lab → · Contrast checker → · Palette generator →

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