#A5299D#A5299D

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

Color values

HEX#A5299D
RGBrgb(165, 41, 157)
HSLhsl(304, 60%, 40%)
HSVhsv(304, 75%, 65%)
CMYKcmyk(0%, 75.2%, 4.8%, 35.3%)
CIE-LABlab(41.25, 62.06, -35.68)
CIE-LCHlch(41.25, 71.58, 330.10°)
OKLaboklab(52.03% 0.1768 -0.0984)
OKLCHoklch(52.03% 0.202 330.9)
XYZxyz(22.3958, 12.0213, 33.0326)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5299D #29A531
analogous
#6F29A5 #A5299D #A5295F
triadic
#A5299D #9DA529 #299DA5
tetradic
#A5299D #A56F29 #29A531 #295FA5
square
#A5299D #A56F29 #29A531 #295FA5
split-complementary
#A5299D #5FA529 #29A56F
monochromatic
#431140 #741D6E #A5299D #CF3DC5 #DB6ED4

Accessibility & contrast

On white

6.17
#A5299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5299D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5299D#FFFFFF#000000##FFFFFF
##A5299D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C56A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AC3961
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5299d;
/* rgb */ color: rgb(165, 41, 157);
/* oklch */ color: oklch(52.0% 0.202 330.9);
Tailwind
colors: {
  custom: {
    50: '#c370ba',
    500: '#a5299d',
    950: '#000000',
  },
}
SCSS
$custom: #a5299d;
$custom-light: #c370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5299d",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 303.871,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.20229,
    "h": 330.9
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#A5299D
secondary
#68C26E
accent
#E34F44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5299D

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

Preview Lab → · Contrast checker → · Palette generator →

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