#A5309A#A5309A

#A5309A is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.192 H 332.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A5309A
RGBrgb(165, 48, 154)
HSLhsl(306, 55%, 42%)
HSVhsv(306, 71%, 65%)
CMYKcmyk(0%, 70.9%, 6.7%, 35.3%)
CIE-LABlab(41.92, 59.22, -32.82)
CIE-LCHlch(41.92, 67.71, 331.01°)
OKLaboklab(52.46% 0.1698 -0.0902)
OKLCHoklch(52.46% 0.192 332)
XYZxyz(22.4068, 12.4481, 31.7882)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5309A #30A53B
analogous
#7630A5 #A5309A #A53060
triadic
#A5309A #9AA530 #309AA5
tetradic
#A5309A #A57630 #30A53B #3060A5
square
#A5309A #A57630 #30A53B #3060A5
split-complementary
#A5309A #60A530 #30A576
monochromatic
#461442 #76226E #A5309A #CA48BE #D878CF

Accessibility & contrast

On white

6.02
#A5309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A5309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5309A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5309A#FFFFFF#000000##FFFFFF
##A5309A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589D
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#AC3C61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5309a;
/* rgb */ color: rgb(165, 48, 154);
/* oklch */ color: oklch(52.5% 0.192 332.0);
Tailwind
colors: {
  custom: {
    50: '#c373b8',
    500: '#a5309a',
    950: '#000000',
  },
}
SCSS
$custom: #a5309a;
$custom-light: #c373b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5309a",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 305.641,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.19225,
    "h": 332
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#A5309A
secondary
#71C078
accent
#DE584A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A5309A

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

Preview Lab → · Contrast checker → · Palette generator →

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