#A42AA3#A42AA3

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

Color values

HEX#A42AA3
RGBrgb(164, 42, 163)
HSLhsl(300, 59%, 40%)
HSVhsv(300, 74%, 64%)
CMYKcmyk(0%, 74.4%, 0.6%, 35.7%)
CIE-LABlab(41.52, 62.49, -38.86)
CIE-LCHlch(41.52, 73.59, 328.12°)
OKLaboklab(52.3% 0.1748 -0.1076)
OKLCHoklch(52.3% 0.205 328.4)
XYZxyz(22.7484, 12.1945, 35.7989)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AA3 #2AA42B
analogous
#682AA4 #A42AA3 #A42A66
triadic
#A42AA3 #A3A42A #2AA3A4
tetradic
#A42AA3 #A4682A #2AA42B #2A66A4
square
#A42AA3 #A4682A #2AA42B #2A66A4
split-complementary
#A42AA3 #66A42A #2AA468
monochromatic
#431142 #731E73 #A42AA3 #CD3ECC #DA6ED9

Accessibility & contrast

On white

6.11
#A42AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A42AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AA3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AA3#FFFFFF#000000##FFFFFF
##A42AA31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A6
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#A93D65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42aa3;
/* rgb */ color: rgb(164, 42, 163);
/* oklch */ color: oklch(52.3% 0.205 328.4);
Tailwind
colors: {
  custom: {
    50: '#c371bf',
    500: '#a42aa3',
    950: '#000000',
  },
}
SCSS
$custom: #a42aa3;
$custom-light: #c371bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42aa3",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 300.492,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.523,
    "c": 0.20531,
    "h": 328.4
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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