#A5339C#A5339C

#A5339C is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.190 H 331.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A5339C
RGBrgb(165, 51, 156)
HSLhsl(305, 53%, 42%)
HSVhsv(305, 69%, 65%)
CMYKcmyk(0%, 69.1%, 5.5%, 35.3%)
CIE-LABlab(42.41, 58.44, -33.24)
CIE-LCHlch(42.41, 67.24, 330.37°)
OKLaboklab(52.85% 0.1667 -0.0914)
OKLCHoklch(52.85% 0.19 331.3)
XYZxyz(22.7016, 12.7690, 32.7150)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5339C #33A53C
analogous
#7533A5 #A5339C #A53363
triadic
#A5339C #9CA533 #339CA5
tetradic
#A5339C #A57533 #33A53C #3363A5
square
#A5339C #A57533 #33A53C #3363A5
split-complementary
#A5339C #63A533 #33A575
monochromatic
#481644 #762570 #A5339C #C84DBE #D67CCF

Accessibility & contrast

On white

5.91
#A5339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A5339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5339C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5339C#FFFFFF#000000##FFFFFF
##A5339C1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5A9F
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#AC3F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a5339c;
/* rgb */ color: rgb(165, 51, 156);
/* oklch */ color: oklch(52.8% 0.190 331.3);
Tailwind
colors: {
  custom: {
    50: '#c375b9',
    500: '#a5339c',
    950: '#000000',
  },
}
SCSS
$custom: #a5339c;
$custom-light: #c375b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5339c",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 304.737,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.19015,
    "h": 331.3
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5339C

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

Preview Lab → · Contrast checker → · Palette generator →

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