#A342D8#A342D8

#A342D8 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.8% C 0.224 H 310.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A342D8
RGBrgb(163, 66, 216)
HSLhsl(279, 66%, 55%)
HSVhsv(279, 69%, 85%)
CMYKcmyk(24.5%, 69.4%, 0%, 15.3%)
CIE-LABlab(47.81, 63.30, -59.78)
CIE-LCHlch(47.81, 87.06, 316.64°)
OKLaboklab(57.8% 0.1465 -0.169)
OKLCHoklch(57.8% 0.224 310.9)
XYZxyz(29.4448, 16.6415, 66.6135)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342D8 #77D842
analogous
#5842D8 #A342D8 #D842C2
triadic
#A342D8 #D8A342 #42D8A3
tetradic
#A342D8 #D85842 #77D842 #42C2D8
square
#A342D8 #D85842 #77D842 #42C2D8
split-complementary
#A342D8 #C2D842 #42D858
monochromatic
#5F1B84 #8426B7 #A342D8 #BC75E2 #D4A7ED

Accessibility & contrast

On white

4.85
#A342D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A342D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342D8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342D8#FFFFFF#000000##FFFFFF
##A342D81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#2C73D5
Tritanopia (blue-blind)
#9C6288
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a342d8;
/* rgb */ color: rgb(163, 66, 216);
/* oklch */ color: oklch(57.8% 0.224 310.9);
Tailwind
colors: {
  custom: {
    50: '#c37ee5',
    500: '#a342d8',
    950: '#000000',
  },
}
SCSS
$custom: #a342d8;
$custom-light: #c37ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#a342d8",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 278.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.22362,
    "h": 310.9
  },
  "luminance": 0.16641
}

Semantic roles & 50–950 ramp

primary
#A342D8
secondary
#B2DA9C
accent
#E93F7B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A342D8

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

Preview Lab → · Contrast checker → · Palette generator →

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