#A5339F#A5339F

#A5339F is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.193 H 330.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A5339F
RGBrgb(165, 51, 159)
HSLhsl(303, 53%, 42%)
HSVhsv(303, 69%, 65%)
CMYKcmyk(0%, 69.1%, 3.6%, 35.3%)
CIE-LABlab(42.57, 58.94, -34.80)
CIE-LCHlch(42.57, 68.44, 329.44°)
OKLaboklab(53.01% 0.1669 -0.0959)
OKLCHoklch(53.01% 0.193 330.1)
XYZxyz(22.9588, 12.8719, 34.0695)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5339F #33A539
analogous
#7233A5 #A5339F #A53366
triadic
#A5339F #9FA533 #339FA5
tetradic
#A5339F #A57233 #33A539 #3366A5
square
#A5339F #A57233 #33A539 #3366A5
split-complementary
#A5339F #66A533 #33A572
monochromatic
#481645 #762572 #A5339F #C84DC2 #D67CD2

Accessibility & contrast

On white

5.88
#A5339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5339F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5339F#FFFFFF#000000##FFFFFF
##A5339F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA2
Deuteranopia (green-blind)
#546A9C
Tritanopia (blue-blind)
#AB4165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a5339f;
/* rgb */ color: rgb(165, 51, 159);
/* oklch */ color: oklch(53.0% 0.193 330.1);
Tailwind
colors: {
  custom: {
    50: '#c375bc',
    500: '#a5339f',
    950: '#000000',
  },
}
SCSS
$custom: #a5339f;
$custom-light: #c375bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5339f",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 303.158,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.19251,
    "h": 330.1
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#A5339F
secondary
#75BF78
accent
#DC534C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A5339F

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

Preview Lab → · Contrast checker → · Palette generator →

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