#A42FAD#A42FAD

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

Color values

HEX#A42FAD
RGBrgb(164, 47, 173)
HSLhsl(296, 57%, 43%)
HSVhsv(296, 73%, 68%)
CMYKcmyk(5.2%, 72.8%, 0%, 32.2%)
CIE-LABlab(42.68, 62.52, -42.98)
CIE-LCHlch(42.68, 75.87, 325.49°)
OKLaboklab(53.31% 0.17 -0.1197)
OKLCHoklch(53.31% 0.208 324.9)
XYZxyz(23.8686, 12.9442, 40.7684)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FAD #38AD2F
analogous
#652FAD #A42FAD #AD2F77
triadic
#A42FAD #ADA42F #2FADA4
tetradic
#A42FAD #AD652F #38AD2F #2F77AD
square
#A42FAD #AD652F #38AD2F #2F77AD
split-complementary
#A42FAD #77AD2F #2FAD65
monochromatic
#49154D #76227D #A42FAD #C54BCE #D47BDB

Accessibility & contrast

On white

5.85
#A42FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A42FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FAD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FAD#FFFFFF#000000##FFFFFF
##A42FAD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB0
Deuteranopia (green-blind)
#486AAA
Tritanopia (blue-blind)
#A8456B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42fad;
/* rgb */ color: rgb(164, 47, 173);
/* oklch */ color: oklch(53.3% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#c373c6',
    500: '#a42fad',
    950: '#000000',
  },
}
SCSS
$custom: #a42fad;
$custom-light: #c373c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fad",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 295.714,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.20789,
    "h": 324.9
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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