#A42FAE#A42FAE

#A42FAE is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.209 H 324.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A42FAE
RGBrgb(164, 47, 174)
HSLhsl(295, 57%, 43%)
HSVhsv(295, 73%, 68%)
CMYKcmyk(5.7%, 73%, 0%, 31.8%)
CIE-LABlab(42.74, 62.70, -43.48)
CIE-LCHlch(42.74, 76.30, 325.26°)
OKLaboklab(53.37% 0.17 -0.1211)
OKLCHoklch(53.37% 0.209 324.5)
XYZxyz(23.9657, 12.9830, 41.2799)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FAE #39AE2F
analogous
#652FAE #A42FAE #AE2F78
triadic
#A42FAE #AEA42F #2FAEA4
tetradic
#A42FAE #AE652F #39AE2F #2F78AE
square
#A42FAE #AE652F #39AE2F #2F78AE
split-complementary
#A42FAE #78AE2F #2FAE65
monochromatic
#49154E #77227E #A42FAE #C44CCF #D47CDC

Accessibility & contrast

On white

5.84
#A42FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A42FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FAE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FAE#FFFFFF#000000##FFFFFF
##A42FAE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42fae;
/* rgb */ color: rgb(164, 47, 174);
/* oklch */ color: oklch(53.4% 0.209 324.5);
Tailwind
colors: {
  custom: {
    50: '#c373c7',
    500: '#a42fae',
    950: '#000000',
  },
}
SCSS
$custom: #a42fae;
$custom-light: #c373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fae",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 295.276,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53372,
    "c": 0.2087,
    "h": 324.5
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#A42FAE
secondary
#7BC475
accent
#E14753
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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