#A342B3#A342B3

#A342B3 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.189 H 321.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A342B3
RGBrgb(163, 66, 179)
HSLhsl(292, 46%, 48%)
HSVhsv(292, 63%, 70%)
CMYKcmyk(8.9%, 63.1%, 0%, 29.8%)
CIE-LABlab(45.55, 55.86, -41.96)
CIE-LCHlch(45.55, 69.86, 323.09°)
OKLaboklab(55.46% 0.1482 -0.1168)
OKLCHoklch(55.46% 0.189 321.7)
XYZxyz(25.1883, 14.9389, 44.1958)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342B3 #52B342
analogous
#6A42B3 #A342B3 #B3428B
triadic
#A342B3 #B3A342 #42B3A3
tetradic
#A342B3 #B36A42 #52B342 #428BB3
square
#A342B3 #B36A42 #52B342 #428BB3
split-complementary
#A342B3 #8BB342 #42B36A
monochromatic
#52215A #7A3286 #A342B3 #BB6AC8 #CF97D9

Accessibility & contrast

On white

5.27
#A342B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A342B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342B3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342B3#FFFFFF#000000##FFFFFF
##A342B31.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B6
Deuteranopia (green-blind)
#4F70B0
Tritanopia (blue-blind)
#A55475
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a342b3;
/* rgb */ color: rgb(163, 66, 179);
/* oklch */ color: oklch(55.5% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#c17dca',
    500: '#a342b3',
    950: '#000000',
  },
}
SCSS
$custom: #a342b3;
$custom-light: #c17dca;
$custom-dark: #000000;
JSON
{
  "hex": "#a342b3",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 291.504,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.18874,
    "h": 321.7
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#A342B3
secondary
#94C48C
accent
#D65265
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342B3

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

Preview Lab → · Contrast checker → · Palette generator →

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