#A42CA5#A42CA5

#A42CA5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.205 H 327.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A42CA5
RGBrgb(164, 44, 165)
HSLhsl(300, 58%, 41%)
HSVhsv(300, 73%, 65%)
CMYKcmyk(0.6%, 73.3%, 0%, 35.3%)
CIE-LABlab(41.86, 62.17, -39.52)
CIE-LCHlch(41.86, 73.67, 327.56°)
OKLaboklab(52.58% 0.173 -0.1095)
OKLCHoklch(52.58% 0.205 327.7)
XYZxyz(23.0017, 12.4121, 36.7743)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CA5 #2DA52C
analogous
#672CA5 #A42CA5 #A52C69
triadic
#A42CA5 #A5A42C #2CA5A4
tetradic
#A42CA5 #A5672C #2DA52C #2C69A5
square
#A42CA5 #A5672C #2DA52C #2C69A5
split-complementary
#A42CA5 #69A52C #2CA567
monochromatic
#441244 #741F75 #A42CA5 #CB42CD #D972D9

Accessibility & contrast

On white

6.03
#A42CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A42CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CA5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CA5#FFFFFF#000000##FFFFFF
##A42CA51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#A93F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42ca5;
/* rgb */ color: rgb(164, 44, 165);
/* oklch */ color: oklch(52.6% 0.205 327.7);
Tailwind
colors: {
  custom: {
    50: '#c372c0',
    500: '#a42ca5',
    950: '#000000',
  },
}
SCSS
$custom: #a42ca5;
$custom-light: #c372c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ca5",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 299.504,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.20476,
    "h": 327.7
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#A42CA5
secondary
#6DC16C
accent
#E14748
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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