#A342BF#A342BF

#A342BF is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.200 H 317.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A342BF
RGBrgb(163, 66, 191)
HSLhsl(287, 49%, 50%)
HSVhsv(287, 65%, 75%)
CMYKcmyk(14.7%, 65.4%, 0%, 25.1%)
CIE-LABlab(46.24, 58.19, -47.88)
CIE-LCHlch(46.24, 75.35, 320.55°)
OKLaboklab(56.18% 0.1482 -0.1341)
OKLCHoklch(56.18% 0.2 317.9)
XYZxyz(26.4551, 15.4457, 50.8679)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342BF #5EBF42
analogous
#6442BF #A342BF #BF429C
triadic
#A342BF #BFA342 #42BFA3
tetradic
#A342BF #BF6442 #5EBF42 #429CBF
square
#A342BF #BF6442 #5EBF42 #429CBF
split-complementary
#A342BF #9CBF42 #42BF64
monochromatic
#562265 #7D3292 #A342BF #B970CE #D09DDE

Accessibility & contrast

On white

5.14
#A342BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A342BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342BF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342BF#FFFFFF#000000##FFFFFF
##A342BF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#A2597B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a342bf;
/* rgb */ color: rgb(163, 66, 191);
/* oklch */ color: oklch(56.2% 0.200 317.9);
Tailwind
colors: {
  custom: {
    50: '#c27dd3',
    500: '#a342bf',
    950: '#000000',
  },
}
SCSS
$custom: #a342bf;
$custom-light: #c27dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a342bf",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 286.56,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.19989,
    "h": 317.9
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#A342BF
secondary
#9FCA93
accent
#D94F6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A342BF

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

Preview Lab → · Contrast checker → · Palette generator →

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