#A5339A#A5339A

#A5339A is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.7% C 0.189 H 332.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A5339A
RGBrgb(165, 51, 154)
HSLhsl(306, 53%, 42%)
HSVhsv(306, 69%, 65%)
CMYKcmyk(0%, 69.1%, 6.7%, 35.3%)
CIE-LABlab(42.31, 58.12, -32.20)
CIE-LCHlch(42.31, 66.44, 331.01°)
OKLaboklab(52.74% 0.1666 -0.0884)
OKLCHoklch(52.74% 0.189 332)
XYZxyz(22.5336, 12.7019, 31.8305)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5339A #33A53E
analogous
#7733A5 #A5339A #A53361
triadic
#A5339A #9AA533 #339AA5
tetradic
#A5339A #A57733 #33A53E #3361A5
square
#A5339A #A57733 #33A53E #3361A5
split-complementary
#A5339A #61A533 #33A577
monochromatic
#481643 #76256E #A5339A #C84DBC #D67CCE

Accessibility & contrast

On white

5.93
#A5339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A5339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5339A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5339A#FFFFFF#000000##FFFFFF
##A5339A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9D
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#AC3F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a5339a;
/* rgb */ color: rgb(165, 51, 154);
/* oklch */ color: oklch(52.7% 0.189 332.0);
Tailwind
colors: {
  custom: {
    50: '#c375b8',
    500: '#a5339a',
    950: '#000000',
  },
}
SCSS
$custom: #a5339a;
$custom-light: #c375b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5339a",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 305.789,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.18861,
    "h": 332
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#A5339A
secondary
#75BF7C
accent
#DC5A4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A5339A

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

Preview Lab → · Contrast checker → · Palette generator →

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