#A42497#A42497

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

Color values

HEX#A42497
RGBrgb(164, 36, 151)
HSLhsl(306, 64%, 39%)
HSVhsv(306, 78%, 64%)
CMYKcmyk(0%, 78%, 7.9%, 35.7%)
CIE-LABlab(40.23, 62.40, -33.68)
CIE-LCHlch(40.23, 70.91, 331.65°)
OKLaboklab(51.16% 0.1799 -0.0926)
OKLCHoklch(51.16% 0.202 332.8)
XYZxyz(21.5267, 11.3905, 30.3370)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42497 #24A431
analogous
#7124A4 #A42497 #A42457
triadic
#A42497 #97A424 #2497A4
tetradic
#A42497 #A47124 #24A431 #2457A4
square
#A42497 #A47124 #24A431 #2457A4
split-complementary
#A42497 #57A424 #24A471
monochromatic
#400E3B #721969 #A42497 #D233C2 #DD65D1

Accessibility & contrast

On white

6.41
#A42497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A42497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42497
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42497#FFFFFF#000000##FFFFFF
##A424971.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C539A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#AB335C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42497;
/* rgb */ color: rgb(164, 36, 151);
/* oklch */ color: oklch(51.2% 0.202 332.8);
Tailwind
colors: {
  custom: {
    50: '#c36eb6',
    500: '#a42497',
    950: '#000000',
  },
}
SCSS
$custom: #a42497;
$custom-light: #c36eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42497",
  "rgb": {
    "r": 164,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 306.094,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.20235,
    "h": 332.8
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#A42497
secondary
#61C36B
accent
#E75241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42497

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

Preview Lab → · Contrast checker → · Palette generator →

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