#A342D6#A342D6

#A342D6 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.7% C 0.222 H 311.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A342D6
RGBrgb(163, 66, 214)
HSLhsl(279, 64%, 55%)
HSVhsv(279, 69%, 84%)
CMYKcmyk(23.8%, 69.2%, 0%, 16.1%)
CIE-LABlab(47.67, 62.88, -58.84)
CIE-LCHlch(47.67, 86.12, 316.90°)
OKLaboklab(57.66% 0.1467 -0.1663)
OKLCHoklch(57.66% 0.222 311.4)
XYZxyz(29.1878, 16.5387, 65.2600)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342D6 #75D642
analogous
#5942D6 #A342D6 #D642BF
triadic
#A342D6 #D6A342 #42D6A3
tetradic
#A342D6 #D65942 #75D642 #42BFD6
square
#A342D6 #D65942 #75D642 #42BFD6
split-complementary
#A342D6 #BFD642 #42D659
monochromatic
#5F1C82 #8327B4 #A342D6 #BB74E1 #D4A7EC

Accessibility & contrast

On white

4.88
#A342D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A342D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342D6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342D6#FFFFFF#000000##FFFFFF
##A342D61.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#2F73D3
Tritanopia (blue-blind)
#9D6287
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a342d6;
/* rgb */ color: rgb(163, 66, 214);
/* oklch */ color: oklch(57.7% 0.222 311.4);
Tailwind
colors: {
  custom: {
    50: '#c37ee3',
    500: '#a342d6',
    950: '#000000',
  },
}
SCSS
$custom: #a342d6;
$custom-light: #c37ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#a342d6",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 279.324,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57663,
    "c": 0.22171,
    "h": 311.4
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#A342D6
secondary
#B0D99B
accent
#E7407A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A342D6

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

Preview Lab → · Contrast checker → · Palette generator →

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