#A42C9D#A42C9D

#A42C9D is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.199 H 330.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A42C9D
RGBrgb(164, 44, 157)
HSLhsl(304, 58%, 41%)
HSVhsv(304, 73%, 64%)
CMYKcmyk(0%, 73.2%, 4.3%, 35.7%)
CIE-LABlab(41.42, 60.86, -35.42)
CIE-LCHlch(41.42, 70.42, 329.80°)
OKLaboklab(52.12% 0.1729 -0.0977)
OKLCHoklch(52.12% 0.199 330.5)
XYZxyz(22.2963, 12.1299, 33.0588)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C9D #2CA433
analogous
#6F2CA4 #A42C9D #A42C61
triadic
#A42C9D #9DA42C #2C9DA4
tetradic
#A42C9D #A46F2C #2CA433 #2C61A4
square
#A42C9D #A46F2C #2CA433 #2C61A4
split-complementary
#A42C9D #61A42C #2CA46F
monochromatic
#431241 #741F6F #A42C9D #CC41C4 #D971D3

Accessibility & contrast

On white

6.13
#A42C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A42C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C9D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C9D#FFFFFF#000000##FFFFFF
##A42C9D1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AA3B62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42c9d;
/* rgb */ color: rgb(164, 44, 157);
/* oklch */ color: oklch(52.1% 0.199 330.5);
Tailwind
colors: {
  custom: {
    50: '#c372ba',
    500: '#a42c9d',
    950: '#000000',
  },
}
SCSS
$custom: #a42c9d;
$custom-light: #c372ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c9d",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 303.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.19858,
    "h": 330.5
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#A42C9D
secondary
#6BC070
accent
#E15047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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