#A42EAE#A42EAE

#A42EAE is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.210 H 324.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A42EAE
RGBrgb(164, 46, 174)
HSLhsl(295, 58%, 43%)
HSVhsv(295, 74%, 68%)
CMYKcmyk(5.7%, 73.6%, 0%, 31.8%)
CIE-LABlab(42.62, 63.04, -43.67)
CIE-LCHlch(42.62, 76.69, 325.29°)
OKLaboklab(53.29% 0.1709 -0.1217)
OKLCHoklch(53.29% 0.21 324.6)
XYZxyz(23.9262, 12.9040, 41.2667)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EAE #38AE2E
analogous
#642EAE #A42EAE #AE2E78
triadic
#A42EAE #AEA42E #2EAEA4
tetradic
#A42EAE #AE642E #38AE2E #2E78AE
square
#A42EAE #AE642E #38AE2E #2E78AE
split-complementary
#A42EAE #78AE2E #2EAE64
monochromatic
#49144D #76217E #A42EAE #C54ACF #D47ADC

Accessibility & contrast

On white

5.87
#A42EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A42EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EAE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EAE#FFFFFF#000000##FFFFFF
##A42EAE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#A7456C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42eae;
/* rgb */ color: rgb(164, 46, 174);
/* oklch */ color: oklch(53.3% 0.210 324.6);
Tailwind
colors: {
  custom: {
    50: '#c373c7',
    500: '#a42eae',
    950: '#000000',
  },
}
SCSS
$custom: #a42eae;
$custom-light: #c373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42eae",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 295.313,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.20978,
    "h": 324.6
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#A42EAE
secondary
#7AC474
accent
#E14653
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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