#A42CA6#A42CA6

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

Color values

HEX#A42CA6
RGBrgb(164, 44, 166)
HSLhsl(299, 58%, 41%)
HSVhsv(299, 73%, 65%)
CMYKcmyk(1.2%, 73.5%, 0%, 34.9%)
CIE-LABlab(41.92, 62.34, -40.02)
CIE-LCHlch(41.92, 74.08, 327.30°)
OKLaboklab(52.64% 0.173 -0.111)
OKLCHoklch(52.64% 0.206 327.3)
XYZxyz(23.0931, 12.4487, 37.2555)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CA6 #2EA62C
analogous
#672CA6 #A42CA6 #A62C6B
triadic
#A42CA6 #A6A42C #2CA6A4
tetradic
#A42CA6 #A6672C #2EA62C #2C6BA6
square
#A42CA6 #A6672C #2EA62C #2C6BA6
split-complementary
#A42CA6 #6BA62C #2CA667
monochromatic
#441245 #741F76 #A42CA6 #CB42CD #D873DA

Accessibility & contrast

On white

6.02
#A42CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A42CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CA6
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CA6#FFFFFF#000000##FFFFFF
##A42CA61.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F59A9
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#A94067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42ca6;
/* rgb */ color: rgb(164, 44, 166);
/* oklch */ color: oklch(52.6% 0.206 327.3);
Tailwind
colors: {
  custom: {
    50: '#c372c1',
    500: '#a42ca6',
    950: '#000000',
  },
}
SCSS
$custom: #a42ca6;
$custom-light: #c372c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ca6",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 299.016,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.20554,
    "h": 327.3
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#A42CA6
secondary
#6EC16D
accent
#E14649
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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