#A5309E#A5309E

#A5309E is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.195 H 330.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A5309E
RGBrgb(165, 48, 158)
HSLhsl(304, 55%, 42%)
HSVhsv(304, 71%, 65%)
CMYKcmyk(0%, 70.9%, 4.2%, 35.3%)
CIE-LABlab(42.13, 59.87, -34.89)
CIE-LCHlch(42.13, 69.29, 329.77°)
OKLaboklab(52.68% 0.17 -0.0961)
OKLCHoklch(52.68% 0.195 330.5)
XYZxyz(22.7455, 12.5836, 33.5720)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5309E #30A537
analogous
#7230A5 #A5309E #A53064
triadic
#A5309E #9EA530 #309EA5
tetradic
#A5309E #A57230 #30A537 #3064A5
square
#A5309E #A57230 #30A537 #3064A5
split-complementary
#A5309E #64A530 #30A572
monochromatic
#461443 #762271 #A5309E #CA48C2 #D878D2

Accessibility & contrast

On white

5.97
#A5309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A5309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5309E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5309E#FFFFFF#000000##FFFFFF
##A5309E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#53699B
Tritanopia (blue-blind)
#AB3E64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5309e;
/* rgb */ color: rgb(165, 48, 158);
/* oklch */ color: oklch(52.7% 0.195 330.5);
Tailwind
colors: {
  custom: {
    50: '#c373bb',
    500: '#a5309e',
    950: '#000000',
  },
}
SCSS
$custom: #a5309e;
$custom-light: #c373bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a5309e",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 303.59,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.19532,
    "h": 330.5
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#A5309E
secondary
#71C076
accent
#DE524A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A5309E

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

Preview Lab → · Contrast checker → · Palette generator →

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