#A5339D#A5339D

#A5339D is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.191 H 330.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A5339D
RGBrgb(165, 51, 157)
HSLhsl(304, 53%, 42%)
HSVhsv(304, 69%, 65%)
CMYKcmyk(0%, 69.1%, 4.8%, 35.3%)
CIE-LABlab(42.46, 58.61, -33.76)
CIE-LCHlch(42.46, 67.64, 330.06°)
OKLaboklab(52.9% 0.1668 -0.0929)
OKLCHoklch(52.9% 0.191 330.9)
XYZxyz(22.7866, 12.8030, 33.1628)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5339D #33A53B
analogous
#7433A5 #A5339D #A53364
triadic
#A5339D #9DA533 #339DA5
tetradic
#A5339D #A57433 #33A53B #3364A5
square
#A5339D #A57433 #33A53B #3364A5
split-complementary
#A5339D #64A533 #33A574
monochromatic
#481644 #762571 #A5339D #C84DBF #D67CD0

Accessibility & contrast

On white

5.90
#A5339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A5339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5339D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5339D#FFFFFF#000000##FFFFFF
##A5339D1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#AB4064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a5339d;
/* rgb */ color: rgb(165, 51, 157);
/* oklch */ color: oklch(52.9% 0.191 330.9);
Tailwind
colors: {
  custom: {
    50: '#c375ba',
    500: '#a5339d',
    950: '#000000',
  },
}
SCSS
$custom: #a5339d;
$custom-light: #c375ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5339d",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 304.211,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.19094,
    "h": 330.9
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#A5339D
secondary
#75BF7A
accent
#DC564C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A5339D

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

Preview Lab → · Contrast checker → · Palette generator →

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