#A42E9A#A42E9A

#A42E9A is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.194 H 331.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A42E9A
RGBrgb(164, 46, 154)
HSLhsl(305, 56%, 41%)
HSVhsv(305, 72%, 64%)
CMYKcmyk(0%, 72%, 6.1%, 35.7%)
CIE-LABlab(41.50, 59.69, -33.48)
CIE-LCHlch(41.50, 68.44, 330.71°)
OKLaboklab(52.13% 0.1708 -0.0921)
OKLCHoklch(52.13% 0.194 331.7)
XYZxyz(22.1196, 12.1814, 31.7518)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E9A #2EA438
analogous
#732EA4 #A42E9A #A42E5F
triadic
#A42E9A #9AA42E #2E9AA4
tetradic
#A42E9A #A4732E #2EA438 #2E5FA4
square
#A42E9A #A4732E #2EA438 #2E5FA4
split-complementary
#A42E9A #5FA42E #2EA473
monochromatic
#441340 #74216D #A42E9A #CB45BF #D874D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42E9A#FFFFFF#000000##FFFFFF
##A42E9A1.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)
#26579D
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#AB3B61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42e9a;
/* rgb */ color: rgb(164, 46, 154);
/* oklch */ color: oklch(52.1% 0.194 331.7);
Tailwind
colors: {
  custom: {
    50: '#c272b8',
    500: '#a42e9a',
    950: '#000000',
  },
}
SCSS
$custom: #a42e9a;
$custom-light: #c272b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e9a",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 305.085,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.19404,
    "h": 331.7
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#A42E9A
secondary
#6EC075
accent
#DF5548
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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