#A42CA3#A42CA3

#A42CA3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.203 H 328.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A42CA3
RGBrgb(164, 44, 163)
HSLhsl(301, 58%, 41%)
HSVhsv(301, 73%, 64%)
CMYKcmyk(0%, 73.2%, 0.6%, 35.7%)
CIE-LABlab(41.75, 61.84, -38.50)
CIE-LCHlch(41.75, 72.84, 328.10°)
OKLaboklab(52.46% 0.173 -0.1066)
OKLCHoklch(52.46% 0.203 328.4)
XYZxyz(22.8211, 12.3399, 35.8231)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CA3 #2CA42D
analogous
#692CA4 #A42CA3 #A42C67
triadic
#A42CA3 #A3A42C #2CA3A4
tetradic
#A42CA3 #A4692C #2CA42D #2C67A4
square
#A42CA3 #A4692C #2CA42D #2C67A4
split-complementary
#A42CA3 #67A42C #2CA469
monochromatic
#431243 #741F73 #A42CA3 #CC41CB #D971D8

Accessibility & contrast

On white

6.06
#A42CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42CA3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CA3#FFFFFF#000000##FFFFFF
##A42CA31.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A6
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#A93E65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42ca3;
/* rgb */ color: rgb(164, 44, 163);
/* oklch */ color: oklch(52.5% 0.203 328.4);
Tailwind
colors: {
  custom: {
    50: '#c372bf',
    500: '#a42ca3',
    950: '#000000',
  },
}
SCSS
$custom: #a42ca3;
$custom-light: #c372bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ca3",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 300.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.2032,
    "h": 328.4
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#A42CA3
secondary
#6BC06C
accent
#E14847
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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