#A342CE#A342CE

#A342CE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.214 H 313.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A342CE
RGBrgb(163, 66, 206)
HSLhsl(282, 59%, 53%)
HSVhsv(282, 68%, 81%)
CMYKcmyk(20.9%, 68%, 0%, 19.2%)
CIE-LABlab(47.16, 61.22, -55.09)
CIE-LCHlch(47.16, 82.35, 318.02°)
OKLaboklab(57.13% 0.1474 -0.1552)
OKLCHoklch(57.13% 0.214 313.5)
XYZxyz(28.1911, 16.1401, 60.0109)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342CE #6DCE42
analogous
#5D42CE #A342CE #CE42B3
triadic
#A342CE #CEA342 #42CEA3
tetradic
#A342CE #CE5D42 #6DCE42 #42B3CE
square
#A342CE #CE5D42 #6DCE42 #42B3CE
split-complementary
#A342CE #B3CE42 #42CE5D
monochromatic
#5C1F77 #812BA7 #A342CE #BB73DB #D2A3E7

Accessibility & contrast

On white

4.97
#A342CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A342CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342CE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342CE#FFFFFF#000000##FFFFFF
##A342CE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#9F5E83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a342ce;
/* rgb */ color: rgb(163, 66, 206);
/* oklch */ color: oklch(57.1% 0.214 313.5);
Tailwind
colors: {
  custom: {
    50: '#c27ede',
    500: '#a342ce',
    950: '#000000',
  },
}
SCSS
$custom: #a342ce;
$custom-light: #c27ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a342ce",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 281.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.21408,
    "h": 313.5
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#A342CE
secondary
#AAD498
accent
#E24676
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A342CE

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

Preview Lab → · Contrast checker → · Palette generator →

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