#A42C96#A42C96

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

Color values

HEX#A42C96
RGBrgb(164, 44, 150)
HSLhsl(307, 58%, 41%)
HSVhsv(307, 73%, 64%)
CMYKcmyk(0%, 73.2%, 8.5%, 35.7%)
CIE-LABlab(41.05, 59.75, -31.78)
CIE-LCHlch(41.05, 67.67, 331.99°)
OKLaboklab(51.74% 0.1726 -0.0871)
OKLCHoklch(51.74% 0.193 333.2)
XYZxyz(21.7157, 11.8977, 30.0010)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C96 #2CA43A
analogous
#762CA4 #A42C96 #A42C5A
triadic
#A42C96 #96A42C #2C96A4
tetradic
#A42C96 #A4762C #2CA43A #2C5AA4
square
#A42C96 #A4762C #2CA43A #2C5AA4
split-complementary
#A42C96 #5AA42C #2CA476
monochromatic
#43123E #741F6A #A42C96 #CC41BC #D971CD

Accessibility & contrast

On white

6.21
#A42C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A42C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C96
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C96#FFFFFF#000000##FFFFFF
##A42C961.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AB385E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42c96;
/* rgb */ color: rgb(164, 44, 150);
/* oklch */ color: oklch(51.7% 0.193 333.2);
Tailwind
colors: {
  custom: {
    50: '#c371b5',
    500: '#a42c96',
    950: '#000000',
  },
}
SCSS
$custom: #a42c96;
$custom-light: #c371b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c96",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 307,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51736,
    "c": 0.19332,
    "h": 333.2
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#A42C96
secondary
#6BC075
accent
#E15947
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42C96

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

Preview Lab → · Contrast checker → · Palette generator →

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