#A42C9E#A42C9E

#A42C9E is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.199 H 330.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A42C9E
RGBrgb(164, 44, 158)
HSLhsl(303, 58%, 41%)
HSVhsv(303, 73%, 64%)
CMYKcmyk(0%, 73.2%, 3.7%, 35.7%)
CIE-LABlab(41.48, 61.02, -35.94)
CIE-LCHlch(41.48, 70.82, 329.51°)
OKLaboklab(52.18% 0.1729 -0.0992)
OKLCHoklch(52.18% 0.199 330.2)
XYZxyz(22.3820, 12.1642, 33.5102)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C9E #2CA432
analogous
#6E2CA4 #A42C9E #A42C62
triadic
#A42C9E #9EA42C #2C9EA4
tetradic
#A42C9E #A46E2C #2CA432 #2C62A4
square
#A42C9E #A46E2C #2CA432 #2C62A4
split-complementary
#A42C9E #62A42C #2CA46E
monochromatic
#431241 #741F70 #A42C9E #CC41C5 #D971D4

Accessibility & contrast

On white

6.12
#A42C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42C9E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C9E#FFFFFF#000000##FFFFFF
##A42C9E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A1
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#AA3C62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42c9e;
/* rgb */ color: rgb(164, 44, 158);
/* oklch */ color: oklch(52.2% 0.199 330.2);
Tailwind
colors: {
  custom: {
    50: '#c372bb',
    500: '#a42c9e',
    950: '#000000',
  },
}
SCSS
$custom: #a42c9e;
$custom-light: #c372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c9e",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 303,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.19934,
    "h": 330.2
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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