#A42397#A42397

#A42397 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.203 H 332.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A42397
RGBrgb(164, 35, 151)
HSLhsl(306, 65%, 39%)
HSVhsv(306, 79%, 64%)
CMYKcmyk(0%, 78.7%, 7.9%, 35.7%)
CIE-LABlab(40.13, 62.69, -33.83)
CIE-LCHlch(40.13, 71.24, 331.64°)
OKLaboklab(51.09% 0.1808 -0.093)
OKLCHoklch(51.09% 0.203 332.8)
XYZxyz(21.4969, 11.3308, 30.3270)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42397 #23A430
analogous
#7123A4 #A42397 #A42356
triadic
#A42397 #97A423 #2397A4
tetradic
#A42397 #A47123 #23A430 #2356A4
square
#A42397 #A47123 #23A430 #2356A4
split-complementary
#A42397 #56A423 #23A471
monochromatic
#3F0D3A #721869 #A42397 #D331C3 #DE64D2

Accessibility & contrast

On white

6.43
#A42397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A42397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42397
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42397#FFFFFF#000000##FFFFFF
##A423971.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42397;
/* rgb */ color: rgb(164, 35, 151);
/* oklch */ color: oklch(51.1% 0.203 332.8);
Tailwind
colors: {
  custom: {
    50: '#c36eb6',
    500: '#a42397',
    950: '#000000',
  },
}
SCSS
$custom: #a42397;
$custom-light: #c36eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42397",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 306.047,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.20329,
    "h": 332.8
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#A42397
secondary
#60C36A
accent
#E85140
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42397

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

Preview Lab → · Contrast checker → · Palette generator →

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