#A5339E#A5339E

#A5339E is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.192 H 330.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A5339E
RGBrgb(165, 51, 158)
HSLhsl(304, 53%, 42%)
HSVhsv(304, 69%, 65%)
CMYKcmyk(0%, 69.1%, 4.2%, 35.3%)
CIE-LABlab(42.52, 58.77, -34.28)
CIE-LCHlch(42.52, 68.04, 329.75°)
OKLaboklab(52.96% 0.1669 -0.0944)
OKLCHoklch(52.96% 0.192 330.5)
XYZxyz(22.8723, 12.8373, 33.6143)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5339E #33A53A
analogous
#7333A5 #A5339E #A53365
triadic
#A5339E #9EA533 #339EA5
tetradic
#A5339E #A57333 #33A53A #3365A5
square
#A5339E #A57333 #33A53A #3365A5
split-complementary
#A5339E #65A533 #33A573
monochromatic
#481644 #762571 #A5339E #C84DC0 #D67CD1

Accessibility & contrast

On white

5.89
#A5339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A5339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5339E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5339E#FFFFFF#000000##FFFFFF
##A5339E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#AB4064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a5339e;
/* rgb */ color: rgb(165, 51, 158);
/* oklch */ color: oklch(53.0% 0.192 330.5);
Tailwind
colors: {
  custom: {
    50: '#c375bb',
    500: '#a5339e',
    950: '#000000',
  },
}
SCSS
$custom: #a5339e;
$custom-light: #c375bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a5339e",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 303.684,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.19172,
    "h": 330.5
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#A5339E
secondary
#75BF79
accent
#DC544C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A5339E

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

Preview Lab → · Contrast checker → · Palette generator →

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