#A342B1#A342B1

#A342B1 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.187 H 322.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A342B1
RGBrgb(163, 66, 177)
HSLhsl(292, 46%, 48%)
HSVhsv(292, 63%, 69%)
CMYKcmyk(7.9%, 62.7%, 0%, 30.6%)
CIE-LABlab(45.44, 55.48, -40.96)
CIE-LCHlch(45.44, 68.96, 323.56°)
OKLaboklab(55.34% 0.1482 -0.1139)
OKLCHoklch(55.34% 0.187 322.4)
XYZxyz(24.9875, 14.8586, 43.1383)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342B1 #50B142
analogous
#6B42B1 #A342B1 #B14288
triadic
#A342B1 #B1A342 #42B1A3
tetradic
#A342B1 #B16B42 #50B142 #4288B1
square
#A342B1 #B16B42 #50B142 #4288B1
split-complementary
#A342B1 #88B142 #42B16B
monochromatic
#512158 #7A3184 #A342B1 #BB69C7 #CF96D8

Accessibility & contrast

On white

5.29
#A342B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A342B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342B1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342B1#FFFFFF#000000##FFFFFF
##A342B11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#A55373
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a342b1;
/* rgb */ color: rgb(163, 66, 177);
/* oklch */ color: oklch(55.3% 0.187 322.4);
Tailwind
colors: {
  custom: {
    50: '#c17dc9',
    500: '#a342b1',
    950: '#000000',
  },
}
SCSS
$custom: #a342b1;
$custom-light: #c17dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a342b1",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 292.432,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.18691,
    "h": 322.4
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#A342B1
secondary
#92C38B
accent
#D55263
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A342B1

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

Preview Lab → · Contrast checker → · Palette generator →

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