#A342BE#A342BE

#A342BE is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.199 H 318.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A342BE
RGBrgb(163, 66, 190)
HSLhsl(287, 49%, 50%)
HSVhsv(287, 65%, 75%)
CMYKcmyk(14.2%, 65.3%, 0%, 25.5%)
CIE-LABlab(46.18, 57.99, -47.39)
CIE-LCHlch(46.18, 74.89, 320.74°)
OKLaboklab(56.11% 0.1482 -0.1327)
OKLCHoklch(56.11% 0.199 318.2)
XYZxyz(26.3455, 15.4018, 50.2903)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342BE #5DBE42
analogous
#6542BE #A342BE #BE429B
triadic
#A342BE #BEA342 #42BEA3
tetradic
#A342BE #BE6542 #5DBE42 #429BBE
square
#A342BE #BE6542 #5DBE42 #429BBE
split-complementary
#A342BE #9BBE42 #42BE65
monochromatic
#552263 #7C3291 #A342BE #B970CE #CF9DDD

Accessibility & contrast

On white

5.15
#A342BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A342BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342BE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342BE#FFFFFF#000000##FFFFFF
##A342BE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#A2587A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a342be;
/* rgb */ color: rgb(163, 66, 190);
/* oklch */ color: oklch(56.1% 0.199 318.2);
Tailwind
colors: {
  custom: {
    50: '#c27dd2',
    500: '#a342be',
    950: '#000000',
  },
}
SCSS
$custom: #a342be;
$custom-light: #c27dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a342be",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 286.935,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.19895,
    "h": 318.2
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#A342BE
secondary
#9ECA92
accent
#D84F6D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342BE

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

Preview Lab → · Contrast checker → · Palette generator →

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