#A42A96#A42A96

#A42A96 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.196 H 333.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A42A96
RGBrgb(164, 42, 150)
HSLhsl(307, 59%, 40%)
HSVhsv(307, 74%, 64%)
CMYKcmyk(0%, 74.4%, 8.5%, 35.7%)
CIE-LABlab(40.82, 60.41, -32.14)
CIE-LCHlch(40.82, 68.43, 331.98°)
OKLaboklab(51.57% 0.1745 -0.0882)
OKLCHoklch(51.57% 0.196 333.2)
XYZxyz(21.6430, 11.7523, 29.9768)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A96 #2AA438
analogous
#752AA4 #A42A96 #A42A59
triadic
#A42A96 #96A42A #2A96A4
tetradic
#A42A96 #A4752A #2AA438 #2A59A4
square
#A42A96 #A4752A #2AA438 #2A59A4
split-complementary
#A42A96 #59A42A #2AA475
monochromatic
#43113D #731E69 #A42A96 #CD3EBD #DA6ECE

Accessibility & contrast

On white

6.27
#A42A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A42A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A96
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A96#FFFFFF#000000##FFFFFF
##A42A961.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#536693
Tritanopia (blue-blind)
#AB365D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42a96;
/* rgb */ color: rgb(164, 42, 150);
/* oklch */ color: oklch(51.6% 0.196 333.2);
Tailwind
colors: {
  custom: {
    50: '#c370b5',
    500: '#a42a96',
    950: '#000000',
  },
}
SCSS
$custom: #a42a96;
$custom-light: #c370b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a96",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 306.885,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.19552,
    "h": 333.2
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#A42A96
secondary
#69C173
accent
#E25745
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42A96

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

Preview Lab → · Contrast checker → · Palette generator →

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