#A5309B#A5309B

#A5309B is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.193 H 331.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A5309B
RGBrgb(165, 48, 155)
HSLhsl(305, 55%, 42%)
HSVhsv(305, 71%, 65%)
CMYKcmyk(0%, 70.9%, 6.1%, 35.3%)
CIE-LABlab(41.97, 59.38, -33.34)
CIE-LCHlch(41.97, 68.10, 330.69°)
OKLaboklab(52.51% 0.1699 -0.0917)
OKLCHoklch(52.51% 0.193 331.6)
XYZxyz(22.4904, 12.4816, 32.2286)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5309B #30A53A
analogous
#7530A5 #A5309B #A53061
triadic
#A5309B #9BA530 #309BA5
tetradic
#A5309B #A57530 #30A53A #3061A5
square
#A5309B #A57530 #30A53A #3061A5
split-complementary
#A5309B #61A530 #30A575
monochromatic
#461442 #76226E #A5309B #CA48BF #D878CF

Accessibility & contrast

On white

6.01
#A5309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A5309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5309B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5309B#FFFFFF#000000##FFFFFF
##A5309B1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599E
Deuteranopia (green-blind)
#546998
Tritanopia (blue-blind)
#AC3D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5309b;
/* rgb */ color: rgb(165, 48, 155);
/* oklch */ color: oklch(52.5% 0.193 331.6);
Tailwind
colors: {
  custom: {
    50: '#c373b9',
    500: '#a5309b',
    950: '#000000',
  },
}
SCSS
$custom: #a5309b;
$custom-light: #c373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5309b",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 305.128,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.19301,
    "h": 331.6
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5309B

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

Preview Lab → · Contrast checker → · Palette generator →

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