#A42C93#A42C93

#A42C93 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.191 H 334.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A42C93
RGBrgb(164, 44, 147)
HSLhsl(309, 58%, 41%)
HSVhsv(309, 73%, 64%)
CMYKcmyk(0%, 73.2%, 10.4%, 35.7%)
CIE-LABlab(40.90, 59.28, -30.20)
CIE-LCHlch(40.90, 66.53, 333.01°)
OKLaboklab(51.58% 0.1723 -0.0826)
OKLCHoklch(51.58% 0.191 334.4)
XYZxyz(21.4772, 11.8023, 28.7450)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C93 #2CA43D
analogous
#792CA4 #A42C93 #A42C57
triadic
#A42C93 #93A42C #2C93A4
tetradic
#A42C93 #A4792C #2CA43D #2C57A4
square
#A42C93 #A4792C #2CA43D #2C57A4
split-complementary
#A42C93 #57A42C #2CA479
monochromatic
#43123C #741F68 #A42C93 #CC41B8 #D971CA

Accessibility & contrast

On white

6.25
#A42C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A42C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C93
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C93#FFFFFF#000000##FFFFFF
##A42C931.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#556790
Tritanopia (blue-blind)
#AC365C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42c93;
/* rgb */ color: rgb(164, 44, 147);
/* oklch */ color: oklch(51.6% 0.191 334.4);
Tailwind
colors: {
  custom: {
    50: '#c371b3',
    500: '#a42c93',
    950: '#000000',
  },
}
SCSS
$custom: #a42c93;
$custom-light: #c371b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c93",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 308.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.19112,
    "h": 334.4
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#A42C93
secondary
#6BC077
accent
#E15D47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42C93

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

Preview Lab → · Contrast checker → · Palette generator →

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