#A5299C#A5299C

#A5299C is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.202 H 331.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A5299C
RGBrgb(165, 41, 156)
HSLhsl(304, 60%, 40%)
HSVhsv(304, 75%, 65%)
CMYKcmyk(0%, 75.2%, 5.5%, 35.3%)
CIE-LABlab(41.20, 61.90, -35.16)
CIE-LCHlch(41.20, 71.19, 330.40°)
OKLaboklab(51.97% 0.1767 -0.0969)
OKLCHoklch(51.97% 0.202 331.3)
XYZxyz(22.3107, 11.9873, 32.5848)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5299C #29A532
analogous
#7029A5 #A5299C #A5295E
triadic
#A5299C #9CA529 #299CA5
tetradic
#A5299C #A57029 #29A532 #295EA5
square
#A5299C #A57029 #29A532 #295EA5
split-complementary
#A5299C #5EA529 #29A570
monochromatic
#43113F #741D6E #A5299C #CF3DC4 #DB6ED3

Accessibility & contrast

On white

6.18
#A5299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A5299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5299C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5299C#FFFFFF#000000##FFFFFF
##A5299C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#AC3860
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5299c;
/* rgb */ color: rgb(165, 41, 156);
/* oklch */ color: oklch(52.0% 0.202 331.3);
Tailwind
colors: {
  custom: {
    50: '#c370b9',
    500: '#a5299c',
    950: '#000000',
  },
}
SCSS
$custom: #a5299c;
$custom-light: #c370b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5299c",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 304.355,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.20154,
    "h": 331.3
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#A5299C
secondary
#68C26F
accent
#E35044
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5299C

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

Preview Lab → · Contrast checker → · Palette generator →

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