#A42195#A42195

#A42195 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.204 H 333.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A42195
RGBrgb(164, 33, 149)
HSLhsl(307, 66%, 39%)
HSVhsv(307, 80%, 64%)
CMYKcmyk(0%, 79.9%, 9.1%, 35.7%)
CIE-LABlab(39.84, 62.93, -33.09)
CIE-LCHlch(39.84, 71.10, 332.27°)
OKLaboklab(50.85% 0.1823 -0.0909)
OKLCHoklch(50.85% 0.204 333.5)
XYZxyz(21.2787, 11.1520, 29.4598)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42195 #21A430
analogous
#7121A4 #A42195 #A42153
triadic
#A42195 #95A421 #2195A4
tetradic
#A42195 #A47121 #21A430 #2153A4
square
#A42195 #A47121 #21A430 #2153A4
split-complementary
#A42195 #53A421 #21A471
monochromatic
#3E0C38 #711767 #A42195 #D52DC2 #DF60D1

Accessibility & contrast

On white

6.50
#A42195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42195 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42195
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42195#FFFFFF#000000##FFFFFF
##A421951.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5298
Deuteranopia (green-blind)
#506492
Tritanopia (blue-blind)
#AC305B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42195;
/* rgb */ color: rgb(164, 33, 149);
/* oklch */ color: oklch(50.8% 0.204 333.5);
Tailwind
colors: {
  custom: {
    50: '#c36db4',
    500: '#a42195',
    950: '#000000',
  },
}
SCSS
$custom: #a42195;
$custom-light: #c36db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42195",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 306.87,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.20369,
    "h": 333.5
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#A42195
secondary
#5DC469
accent
#E9523E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42195

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

Preview Lab → · Contrast checker → · Palette generator →

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