#A42997#A42997

#A42997 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.197 H 332.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A42997
RGBrgb(164, 41, 151)
HSLhsl(306, 60%, 40%)
HSVhsv(306, 75%, 64%)
CMYKcmyk(0%, 75%, 7.9%, 35.7%)
CIE-LABlab(40.76, 60.89, -32.84)
CIE-LCHlch(40.76, 69.18, 331.66°)
OKLaboklab(51.54% 0.1755 -0.0902)
OKLCHoklch(51.54% 0.197 332.8)
XYZxyz(21.6888, 11.7146, 30.3910)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42997 #29A436
analogous
#7329A4 #A42997 #A4295A
triadic
#A42997 #97A429 #2997A4
tetradic
#A42997 #A47329 #29A436 #295AA4
square
#A42997 #A47329 #29A436 #295AA4
split-complementary
#A42997 #5AA429 #29A473
monochromatic
#42113D #731D6A #A42997 #CE3CBF #DA6DCF

Accessibility & contrast

On white

6.28
#A42997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A42997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42997
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42997#FFFFFF#000000##FFFFFF
##A429971.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#AB365E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42997;
/* rgb */ color: rgb(164, 41, 151);
/* oklch */ color: oklch(51.5% 0.197 332.8);
Tailwind
colors: {
  custom: {
    50: '#c370b6',
    500: '#a42997',
    950: '#000000',
  },
}
SCSS
$custom: #a42997;
$custom-light: #c370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42997",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 306.341,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.19733,
    "h": 332.8
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#A42997
secondary
#68C171
accent
#E35545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42997

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

Preview Lab → · Contrast checker → · Palette generator →

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