#A5299A#A5299A

#A5299A is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.200 H 332.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A5299A
RGBrgb(165, 41, 154)
HSLhsl(305, 60%, 40%)
HSVhsv(305, 75%, 65%)
CMYKcmyk(0%, 75.2%, 6.7%, 35.3%)
CIE-LABlab(41.09, 61.59, -34.13)
CIE-LCHlch(41.09, 70.41, 331.01°)
OKLaboklab(51.86% 0.1767 -0.0939)
OKLCHoklch(51.86% 0.2 332)
XYZxyz(22.1428, 11.9201, 31.7002)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5299A #29A534
analogous
#7229A5 #A5299A #A5295C
triadic
#A5299A #9AA529 #299AA5
tetradic
#A5299A #A57229 #29A534 #295CA5
square
#A5299A #A57229 #29A534 #295CA5
split-complementary
#A5299A #5CA529 #29A572
monochromatic
#43113E #741D6C #A5299A #CF3DC2 #DB6ED1

Accessibility & contrast

On white

6.21
#A5299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A5299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5299A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5299A#FFFFFF#000000##FFFFFF
##A5299A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569D
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#AC375F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5299a;
/* rgb */ color: rgb(165, 41, 154);
/* oklch */ color: oklch(51.9% 0.200 332.0);
Tailwind
colors: {
  custom: {
    50: '#c370b8',
    500: '#a5299a',
    950: '#000000',
  },
}
SCSS
$custom: #a5299a;
$custom-light: #c370b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5299a",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 305.323,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.20006,
    "h": 332
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#A5299A
secondary
#68C270
accent
#E35344
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5299A

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

Preview Lab → · Contrast checker → · Palette generator →

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