#A42598#A42598

#A42598 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.202 H 332.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A42598
RGBrgb(164, 37, 152)
HSLhsl(306, 63%, 39%)
HSVhsv(306, 77%, 64%)
CMYKcmyk(0%, 77.4%, 7.3%, 35.7%)
CIE-LABlab(40.38, 62.27, -34.04)
CIE-LCHlch(40.38, 70.97, 331.34°)
OKLaboklab(51.29% 0.1791 -0.0936)
OKLCHoklch(51.29% 0.202 332.4)
XYZxyz(21.6390, 11.4845, 30.7767)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42598 #25A431
analogous
#7125A4 #A42598 #A42559
triadic
#A42598 #98A425 #2598A4
tetradic
#A42598 #A47125 #25A431 #2559A4
square
#A42598 #A47125 #25A431 #2559A4
split-complementary
#A42598 #59A425 #25A471
monochromatic
#400E3B #721A6A #A42598 #D135C3 #DD67D2

Accessibility & contrast

On white

6.37
#A42598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A42598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42598
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42598#FFFFFF#000000##FFFFFF
##A425981.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#AB345D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42598;
/* rgb */ color: rgb(164, 37, 152);
/* oklch */ color: oklch(51.3% 0.202 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36fb7',
    500: '#a42598',
    950: '#000000',
  },
}
SCSS
$custom: #a42598;
$custom-light: #c36fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42598",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 305.669,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.20211,
    "h": 332.4
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#A42598
secondary
#62C26B
accent
#E65142
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42598

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

Preview Lab → · Contrast checker → · Palette generator →

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