#A342B0#A342B0

#A342B0 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.186 H 322.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A342B0
RGBrgb(163, 66, 176)
HSLhsl(293, 45%, 47%)
HSVhsv(293, 63%, 69%)
CMYKcmyk(7.4%, 62.5%, 0%, 31%)
CIE-LABlab(45.39, 55.29, -40.46)
CIE-LCHlch(45.39, 68.51, 323.80°)
OKLaboklab(55.28% 0.1481 -0.1125)
OKLCHoklch(55.28% 0.186 322.8)
XYZxyz(24.8882, 14.8189, 42.6153)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342B0 #4FB042
analogous
#6C42B0 #A342B0 #B04286
triadic
#A342B0 #B0A342 #42B0A3
tetradic
#A342B0 #B06C42 #4FB042 #4286B0
square
#A342B0 #B06C42 #4FB042 #4286B0
split-complementary
#A342B0 #86B042 #42B06C
monochromatic
#512157 #7A3183 #A342B0 #BB69C7 #CF95D7

Accessibility & contrast

On white

5.30
#A342B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A342B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342B0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342B0#FFFFFF#000000##FFFFFF
##A342B01.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B3
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#A55373
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a342b0;
/* rgb */ color: rgb(163, 66, 176);
/* oklch */ color: oklch(55.3% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#c17dc8',
    500: '#a342b0',
    950: '#000000',
  },
}
SCSS
$custom: #a342b0;
$custom-light: #c17dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#a342b0",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 292.909,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55283,
    "c": 0.18599,
    "h": 322.8
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#A342B0
secondary
#91C38B
accent
#D55362
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342B0

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

Preview Lab → · Contrast checker → · Palette generator →

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