#A42CA7#A42CA7

#A42CA7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.206 H 327.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A42CA7
RGBrgb(164, 44, 167)
HSLhsl(299, 58%, 41%)
HSVhsv(299, 74%, 65%)
CMYKcmyk(1.8%, 73.7%, 0%, 34.5%)
CIE-LABlab(41.98, 62.51, -40.53)
CIE-LCHlch(41.98, 74.50, 327.04°)
OKLaboklab(52.7% 0.173 -0.1125)
OKLCHoklch(52.7% 0.206 327)
XYZxyz(23.1852, 12.4855, 37.7405)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CA7 #2FA72C
analogous
#672CA7 #A42CA7 #A72C6D
triadic
#A42CA7 #A7A42C #2CA7A4
tetradic
#A42CA7 #A7672C #2FA72C #2C6DA7
square
#A42CA7 #A7672C #2FA72C #2C6DA7
split-complementary
#A42CA7 #6DA72C #2CA767
monochromatic
#451246 #741F77 #A42CA7 #CA43CD #D873DA

Accessibility & contrast

On white

6.01
#A42CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A42CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CA7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CA7#FFFFFF#000000##FFFFFF
##A42CA71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D59AA
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#A94067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42ca7;
/* rgb */ color: rgb(164, 44, 167);
/* oklch */ color: oklch(52.7% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#c372c2',
    500: '#a42ca7',
    950: '#000000',
  },
}
SCSS
$custom: #a42ca7;
$custom-light: #c372c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ca7",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 298.537,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.20633,
    "h": 327
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#A42CA7
secondary
#6FC26D
accent
#E2464A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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