#A42597#A42597

#A42597 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.2% C 0.201 H 332.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A42597
RGBrgb(164, 37, 151)
HSLhsl(306, 63%, 39%)
HSVhsv(306, 77%, 64%)
CMYKcmyk(0%, 77.4%, 7.9%, 35.7%)
CIE-LABlab(40.33, 62.11, -33.52)
CIE-LCHlch(40.33, 70.58, 331.65°)
OKLaboklab(51.24% 0.1791 -0.0921)
OKLCHoklch(51.24% 0.201 332.8)
XYZxyz(21.5574, 11.4519, 30.3472)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42597 #25A432
analogous
#7225A4 #A42597 #A42557
triadic
#A42597 #97A425 #2597A4
tetradic
#A42597 #A47225 #25A432 #2557A4
square
#A42597 #A47225 #25A432 #2557A4
split-complementary
#A42597 #57A425 #25A472
monochromatic
#400E3B #721A69 #A42597 #D135C1 #DD67D1

Accessibility & contrast

On white

6.38
#A42597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A42597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42597
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42597#FFFFFF#000000##FFFFFF
##A425971.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42597;
/* rgb */ color: rgb(164, 37, 151);
/* oklch */ color: oklch(51.2% 0.201 332.8);
Tailwind
colors: {
  custom: {
    50: '#c36fb6',
    500: '#a42597',
    950: '#000000',
  },
}
SCSS
$custom: #a42597;
$custom-light: #c36fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42597",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 306.142,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.20139,
    "h": 332.8
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#A42597
secondary
#62C26C
accent
#E65242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42597

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

Preview Lab → · Contrast checker → · Palette generator →

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