#A42CA2#A42CA2

#A42CA2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.202 H 328.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A42CA2
RGBrgb(164, 44, 162)
HSLhsl(301, 58%, 41%)
HSVhsv(301, 73%, 64%)
CMYKcmyk(0%, 73.2%, 1.2%, 35.7%)
CIE-LABlab(41.70, 61.67, -37.99)
CIE-LCHlch(41.70, 72.44, 328.37°)
OKLaboklab(52.41% 0.173 -0.1051)
OKLCHoklch(52.41% 0.202 328.7)
XYZxyz(22.7319, 12.3042, 35.3531)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CA2 #2CA42E
analogous
#6A2CA4 #A42CA2 #A42C66
triadic
#A42CA2 #A2A42C #2CA2A4
tetradic
#A42CA2 #A46A2C #2CA42E #2C66A4
square
#A42CA2 #A46A2C #2CA42E #2C66A4
split-complementary
#A42CA2 #66A42C #2CA46A
monochromatic
#431243 #741F72 #A42CA2 #CC41CA #D971D7

Accessibility & contrast

On white

6.07
#A42CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A42CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CA2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CA2#FFFFFF#000000##FFFFFF
##A42CA21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#AA3E65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42ca2;
/* rgb */ color: rgb(164, 44, 162);
/* oklch */ color: oklch(52.4% 0.202 328.7);
Tailwind
colors: {
  custom: {
    50: '#c372be',
    500: '#a42ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a42ca2;
$custom-light: #c372be;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ca2",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 301,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.20242,
    "h": 328.7
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#A42CA2
secondary
#6BC06D
accent
#E14947
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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