#A42B97#A42B97

#A42B97 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.195 H 332.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A42B97
RGBrgb(164, 43, 151)
HSLhsl(306, 58%, 41%)
HSVhsv(306, 74%, 64%)
CMYKcmyk(0%, 73.8%, 7.9%, 35.7%)
CIE-LABlab(40.99, 60.24, -32.49)
CIE-LCHlch(40.99, 68.44, 331.66°)
OKLaboklab(51.71% 0.1736 -0.0892)
OKLCHoklch(51.71% 0.195 332.8)
XYZxyz(21.7597, 11.8564, 30.4146)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B97 #2BA438
analogous
#742BA4 #A42B97 #A42B5B
triadic
#A42B97 #97A42B #2B97A4
tetradic
#A42B97 #A4742B #2BA438 #2B5BA4
square
#A42B97 #A4742B #2BA438 #2B5BA4
split-complementary
#A42B97 #5BA42B #2BA474
monochromatic
#43123E #741E6A #A42B97 #CD3FBE #D970CE

Accessibility & contrast

On white

6.23
#A42B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A42B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B97
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B97#FFFFFF#000000##FFFFFF
##A42B971.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#AB385E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42b97;
/* rgb */ color: rgb(164, 43, 151);
/* oklch */ color: oklch(51.7% 0.195 332.8);
Tailwind
colors: {
  custom: {
    50: '#c371b6',
    500: '#a42b97',
    950: '#000000',
  },
}
SCSS
$custom: #a42b97;
$custom-light: #c371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b97",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 306.446,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.19517,
    "h": 332.8
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#A42B97
secondary
#6AC173
accent
#E25746
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B97

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

Preview Lab → · Contrast checker → · Palette generator →

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