#A42CA1#A42CA1

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

Color values

HEX#A42CA1
RGBrgb(164, 44, 161)
HSLhsl(302, 58%, 41%)
HSVhsv(302, 73%, 64%)
CMYKcmyk(0%, 73.2%, 1.8%, 35.7%)
CIE-LABlab(41.64, 61.51, -37.48)
CIE-LCHlch(41.64, 72.03, 328.65°)
OKLaboklab(52.35% 0.173 -0.1036)
OKLCHoklch(52.35% 0.202 329.1)
XYZxyz(22.6434, 12.2688, 34.8868)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CA1 #2CA42F
analogous
#6B2CA4 #A42CA1 #A42C65
triadic
#A42CA1 #A1A42C #2CA1A4
tetradic
#A42CA1 #A46B2C #2CA42F #2C65A4
square
#A42CA1 #A46B2C #2CA42F #2C65A4
split-complementary
#A42CA1 #65A42C #2CA46B
monochromatic
#431242 #741F72 #A42CA1 #CC41C9 #D971D6

Accessibility & contrast

On white

6.08
#A42CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A42CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CA1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CA1#FFFFFF#000000##FFFFFF
##A42CA11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#AA3D64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42ca1;
/* rgb */ color: rgb(164, 44, 161);
/* oklch */ color: oklch(52.3% 0.202 329.1);
Tailwind
colors: {
  custom: {
    50: '#c372bd',
    500: '#a42ca1',
    950: '#000000',
  },
}
SCSS
$custom: #a42ca1;
$custom-light: #c372bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ca1",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 301.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.20165,
    "h": 329.1
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#A42CA1
secondary
#6BC06E
accent
#E14B47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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