#A42CA4#A42CA4

#A42CA4 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.204 H 328.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A42CA4
RGBrgb(164, 44, 164)
HSLhsl(300, 58%, 41%)
HSVhsv(300, 73%, 64%)
CMYKcmyk(0%, 73.2%, 0%, 35.7%)
CIE-LABlab(41.81, 62.01, -39.01)
CIE-LCHlch(41.81, 73.26, 327.83°)
OKLaboklab(52.52% 0.173 -0.1081)
OKLCHoklch(52.52% 0.204 328)
XYZxyz(22.9111, 12.3759, 36.2968)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CA4 #2CA42C
analogous
#682CA4 #A42CA4 #A42C68
triadic
#A42CA4 #A4A42C #2CA4A4
tetradic
#A42CA4 #A4682C #2CA42C #2C68A4
square
#A42CA4 #A4682C #2CA42C #2C68A4
split-complementary
#A42CA4 #68A42C #2CA468
monochromatic
#431243 #741F74 #A42CA4 #CC41CC #D971D9

Accessibility & contrast

On white

6.04
#A42CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A42CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CA4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CA4#FFFFFF#000000##FFFFFF
##A42CA41.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A7
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#A93F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42ca4;
/* rgb */ color: rgb(164, 44, 164);
/* oklch */ color: oklch(52.5% 0.204 328.0);
Tailwind
colors: {
  custom: {
    50: '#c372bf',
    500: '#a42ca4',
    950: '#000000',
  },
}
SCSS
$custom: #a42ca4;
$custom-light: #c372bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ca4",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 300,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.20398,
    "h": 328
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#A42CA4
secondary
#6BC06B
accent
#E14747
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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