#A342BD#A342BD

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

Color values

HEX#A342BD
RGBrgb(163, 66, 189)
HSLhsl(287, 48%, 50%)
HSVhsv(287, 65%, 74%)
CMYKcmyk(13.8%, 65.1%, 0%, 25.9%)
CIE-LABlab(46.12, 57.79, -46.90)
CIE-LCHlch(46.12, 74.43, 320.94°)
OKLaboklab(56.05% 0.1483 -0.1313)
OKLCHoklch(56.05% 0.198 318.5)
XYZxyz(26.2365, 15.3582, 49.7167)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342BD #5CBD42
analogous
#6642BD #A342BD #BD4299
triadic
#A342BD #BDA342 #42BDA3
tetradic
#A342BD #BD6642 #5CBD42 #4299BD
square
#A342BD #BD6642 #5CBD42 #4299BD
split-complementary
#A342BD #99BD42 #42BD66
monochromatic
#552262 #7C3290 #A342BD #B96FCD #CF9DDD

Accessibility & contrast

On white

5.16
#A342BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A342BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342BD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342BD#FFFFFF#000000##FFFFFF
##A342BD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#A3587A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a342bd;
/* rgb */ color: rgb(163, 66, 189);
/* oklch */ color: oklch(56.1% 0.198 318.5);
Tailwind
colors: {
  custom: {
    50: '#c27dd1',
    500: '#a342bd',
    950: '#000000',
  },
}
SCSS
$custom: #a342bd;
$custom-light: #c27dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a342bd",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 287.317,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.19801,
    "h": 318.5
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#A342BD
secondary
#9DC992
accent
#D8506D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A342BD

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

Preview Lab → · Contrast checker → · Palette generator →

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