#A342E8#A342E8

#A342E8 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.9% C 0.239 H 307.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A342E8
RGBrgb(163, 66, 232)
HSLhsl(275, 78%, 58%)
HSVhsv(275, 72%, 91%)
CMYKcmyk(29.7%, 71.6%, 0%, 9%)
CIE-LABlab(48.90, 66.71, -67.10)
CIE-LCHlch(48.90, 94.62, 314.83°)
OKLaboklab(58.92% 0.1442 -0.1905)
OKLCHoklch(58.92% 0.239 307.1)
XYZxyz(31.6149, 17.5095, 78.0425)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342E8 #87E842
analogous
#5042E8 #A342E8 #E842DA
triadic
#A342E8 #E8A342 #42E8A3
tetradic
#A342E8 #E85042 #87E842 #42DAE8
square
#A342E8 #E85042 #87E842 #42DAE8
split-complementary
#A342E8 #DAE842 #42E850
monochromatic
#63139D #861AD3 #A342E8 #BE79EF #D8AFF5

Accessibility & contrast

On white

4.66
#A342E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A342E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A342E8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342E8#FFFFFF#000000##FFFFFF
##A342E81.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#976991
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a342e8;
/* rgb */ color: rgb(163, 66, 232);
/* oklch */ color: oklch(58.9% 0.239 307.1);
Tailwind
colors: {
  custom: {
    50: '#c47ff0',
    500: '#a342e8',
    950: '#000000',
  },
}
SCSS
$custom: #a342e8;
$custom-light: #c47ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#a342e8",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 232
  },
  "hsl": {
    "h": 275.06,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.23895,
    "h": 307.1
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#A342E8
secondary
#BDE4A2
accent
#F53384
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A342E8

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

Preview Lab → · Contrast checker → · Palette generator →

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