#A5299B#A5299B

#A5299B is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.201 H 331.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A5299B
RGBrgb(165, 41, 155)
HSLhsl(305, 60%, 40%)
HSVhsv(305, 75%, 65%)
CMYKcmyk(0%, 75.2%, 6.1%, 35.3%)
CIE-LABlab(41.14, 61.74, -34.65)
CIE-LCHlch(41.14, 70.80, 330.70°)
OKLaboklab(51.92% 0.1767 -0.0954)
OKLCHoklch(51.92% 0.201 331.6)
XYZxyz(22.2264, 11.9536, 32.1406)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5299B #29A533
analogous
#7129A5 #A5299B #A5295D
triadic
#A5299B #9BA529 #299BA5
tetradic
#A5299B #A57129 #29A533 #295DA5
square
#A5299B #A57129 #29A533 #295DA5
split-complementary
#A5299B #5DA529 #29A571
monochromatic
#43113F #741D6D #A5299B #CF3DC3 #DB6ED2

Accessibility & contrast

On white

6.19
#A5299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A5299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5299B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5299B#FFFFFF#000000##FFFFFF
##A5299B1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5299b;
/* rgb */ color: rgb(165, 41, 155);
/* oklch */ color: oklch(51.9% 0.201 331.6);
Tailwind
colors: {
  custom: {
    50: '#c370b9',
    500: '#a5299b',
    950: '#000000',
  },
}
SCSS
$custom: #a5299b;
$custom-light: #c370b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5299b",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 304.839,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.2008,
    "h": 331.6
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5299B

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

Preview Lab → · Contrast checker → · Palette generator →

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