#A5309D#A5309D

#A5309D is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.195 H 330.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A5309D
RGBrgb(165, 48, 157)
HSLhsl(304, 55%, 42%)
HSVhsv(304, 71%, 65%)
CMYKcmyk(0%, 70.9%, 4.8%, 35.3%)
CIE-LABlab(42.08, 59.71, -34.38)
CIE-LCHlch(42.08, 68.89, 330.07°)
OKLaboklab(52.62% 0.17 -0.0946)
OKLCHoklch(52.62% 0.195 330.9)
XYZxyz(22.6597, 12.5493, 33.1206)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5309D #30A538
analogous
#7330A5 #A5309D #A53062
triadic
#A5309D #9DA530 #309DA5
tetradic
#A5309D #A57330 #30A538 #3062A5
square
#A5309D #A57330 #30A538 #3062A5
split-complementary
#A5309D #62A530 #30A573
monochromatic
#461443 #762270 #A5309D #CA48C1 #D878D1

Accessibility & contrast

On white

5.98
#A5309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A5309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5309D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5309D#FFFFFF#000000##FFFFFF
##A5309D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#53699A
Tritanopia (blue-blind)
#AB3E63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5309d;
/* rgb */ color: rgb(165, 48, 157);
/* oklch */ color: oklch(52.6% 0.195 330.9);
Tailwind
colors: {
  custom: {
    50: '#c373ba',
    500: '#a5309d',
    950: '#000000',
  },
}
SCSS
$custom: #a5309d;
$custom-light: #c373ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5309d",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 304.103,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.19455,
    "h": 330.9
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#A5309D
secondary
#71C076
accent
#DE544A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A5309D

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

Preview Lab → · Contrast checker → · Palette generator →

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