#A42A92#A42A92

#A42A92 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.193 H 334.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A42A92
RGBrgb(164, 42, 146)
HSLhsl(309, 59%, 40%)
HSVhsv(309, 74%, 64%)
CMYKcmyk(0%, 74.4%, 11%, 35.7%)
CIE-LABlab(40.61, 59.80, -30.04)
CIE-LCHlch(40.61, 66.92, 333.33°)
OKLaboklab(51.35% 0.1742 -0.0821)
OKLCHoklch(51.35% 0.193 334.8)
XYZxyz(21.3264, 11.6256, 28.3093)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A92 #2AA43C
analogous
#792AA4 #A42A92 #A42A55
triadic
#A42A92 #92A42A #2A92A4
tetradic
#A42A92 #A4792A #2AA43C #2A55A4
square
#A42A92 #A4792A #2AA43C #2A55A4
split-complementary
#A42A92 #55A42A #2AA479
monochromatic
#43113B #731E67 #A42A92 #CD3EB8 #DA6ECA

Accessibility & contrast

On white

6.32
#A42A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A42A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A92
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A92#FFFFFF#000000##FFFFFF
##A42A921.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#55668F
Tritanopia (blue-blind)
#AC345B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42a92;
/* rgb */ color: rgb(164, 42, 146);
/* oklch */ color: oklch(51.4% 0.193 334.8);
Tailwind
colors: {
  custom: {
    50: '#c370b2',
    500: '#a42a92',
    950: '#000000',
  },
}
SCSS
$custom: #a42a92;
$custom-light: #c370b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a92",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 308.852,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51354,
    "c": 0.19262,
    "h": 334.8
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#A42A92
secondary
#69C176
accent
#E25D45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42A92

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

Preview Lab → · Contrast checker → · Palette generator →

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