#A342B9#A342B9

#A342B9 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.194 H 319.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A342B9
RGBrgb(163, 66, 185)
HSLhsl(289, 47%, 49%)
HSVhsv(289, 64%, 73%)
CMYKcmyk(11.9%, 64.3%, 0%, 27.5%)
CIE-LABlab(45.89, 57.01, -44.94)
CIE-LCHlch(45.89, 72.59, 321.75°)
OKLaboklab(55.81% 0.1483 -0.1255)
OKLCHoklch(55.81% 0.194 319.8)
XYZxyz(25.8083, 15.1869, 47.4615)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342B9 #58B942
analogous
#6842B9 #A342B9 #B94293
triadic
#A342B9 #B9A342 #42B9A3
tetradic
#A342B9 #B96842 #58B942 #4293B9
square
#A342B9 #B96842 #58B942 #4293B9
split-complementary
#A342B9 #93B942 #42B968
monochromatic
#54225F #7B328C #A342B9 #BA6DCB #CF9ADB

Accessibility & contrast

On white

5.20
#A342B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A342B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342B9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342B9#FFFFFF#000000##FFFFFF
##A342B91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#4B70B6
Tritanopia (blue-blind)
#A45678
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a342b9;
/* rgb */ color: rgb(163, 66, 185);
/* oklch */ color: oklch(55.8% 0.194 319.8);
Tailwind
colors: {
  custom: {
    50: '#c17dce',
    500: '#a342b9',
    950: '#000000',
  },
}
SCSS
$custom: #a342b9;
$custom-light: #c17dce;
$custom-dark: #000000;
JSON
{
  "hex": "#a342b9",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 288.908,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.19429,
    "h": 319.8
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#A342B9
secondary
#9AC790
accent
#D7516A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A342B9

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

Preview Lab → · Contrast checker → · Palette generator →

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