#A42AA2#A42AA2

#A42AA2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.205 H 328.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A42AA2
RGBrgb(164, 42, 162)
HSLhsl(301, 59%, 40%)
HSVhsv(301, 74%, 64%)
CMYKcmyk(0%, 74.4%, 1.2%, 35.7%)
CIE-LABlab(41.47, 62.33, -38.35)
CIE-LCHlch(41.47, 73.18, 328.40°)
OKLaboklab(52.24% 0.1749 -0.1061)
OKLCHoklch(52.24% 0.205 328.7)
XYZxyz(22.6592, 12.1588, 35.3288)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AA2 #2AA42C
analogous
#692AA4 #A42AA2 #A42A65
triadic
#A42AA2 #A2A42A #2AA2A4
tetradic
#A42AA2 #A4692A #2AA42C #2A65A4
square
#A42AA2 #A4692A #2AA42C #2A65A4
split-complementary
#A42AA2 #65A42A #2AA469
monochromatic
#431142 #731E72 #A42AA2 #CD3ECB #DA6ED8

Accessibility & contrast

On white

6.12
#A42AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A42AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AA2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AA2#FFFFFF#000000##FFFFFF
##A42AA21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#AA3C64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42aa2;
/* rgb */ color: rgb(164, 42, 162);
/* oklch */ color: oklch(52.2% 0.205 328.7);
Tailwind
colors: {
  custom: {
    50: '#c371be',
    500: '#a42aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a42aa2;
$custom-light: #c371be;
$custom-dark: #000000;
JSON
{
  "hex": "#a42aa2",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 300.984,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.20455,
    "h": 328.7
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#A42AA2
secondary
#69C16A
accent
#E24845
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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