#A42D97#A42D97

#A42D97 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.193 H 332.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A42D97
RGBrgb(164, 45, 151)
HSLhsl(307, 57%, 41%)
HSVhsv(307, 73%, 64%)
CMYKcmyk(0%, 72.6%, 7.9%, 35.7%)
CIE-LABlab(41.22, 59.56, -32.11)
CIE-LCHlch(41.22, 67.67, 331.67°)
OKLaboklab(51.88% 0.1716 -0.0881)
OKLCHoklch(51.88% 0.193 332.8)
XYZxyz(21.8342, 12.0055, 30.4395)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D97 #2DA43A
analogous
#752DA4 #A42D97 #A42D5B
triadic
#A42D97 #97A42D #2D97A4
tetradic
#A42D97 #A4752D #2DA43A #2D5BA4
square
#A42D97 #A4752D #2DA43A #2D5BA4
split-complementary
#A42D97 #5BA42D #2DA475
monochromatic
#44133F #74206B #A42D97 #CB43BC #D973CD

Accessibility & contrast

On white

6.18
#A42D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42D97
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D97#FFFFFF#000000##FFFFFF
##A42D971.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#AB395F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42d97;
/* rgb */ color: rgb(164, 45, 151);
/* oklch */ color: oklch(51.9% 0.193 332.8);
Tailwind
colors: {
  custom: {
    50: '#c272b6',
    500: '#a42d97',
    950: '#000000',
  },
}
SCSS
$custom: #a42d97;
$custom-light: #c272b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d97",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 306.555,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.19293,
    "h": 332.8
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#A42D97
secondary
#6DC076
accent
#E05848
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42D97

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

Preview Lab → · Contrast checker → · Palette generator →

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