#A42AA8#A42AA8

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

Color values

HEX#A42AA8
RGBrgb(164, 42, 168)
HSLhsl(298, 60%, 41%)
HSVhsv(298, 75%, 66%)
CMYKcmyk(2.4%, 75%, 0%, 34.1%)
CIE-LABlab(41.81, 63.32, -41.39)
CIE-LCHlch(41.81, 75.65, 326.83°)
OKLaboklab(52.6% 0.1748 -0.115)
OKLCHoklch(52.6% 0.209 326.7)
XYZxyz(23.2053, 12.3772, 38.2050)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AA8 #2EA82A
analogous
#652AA8 #A42AA8 #A82A6D
triadic
#A42AA8 #A8A42A #2AA8A4
tetradic
#A42AA8 #A8652A #2EA82A #2A6DA8
square
#A42AA8 #A8652A #2EA82A #2A6DA8
split-complementary
#A42AA8 #6DA82A #2AA865
monochromatic
#441246 #741E77 #A42AA8 #CB40CF #D871DB

Accessibility & contrast

On white

6.04
#A42AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42AA8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AA8#FFFFFF#000000##FFFFFF
##A42AA81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#A93F67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42aa8;
/* rgb */ color: rgb(164, 42, 168);
/* oklch */ color: oklch(52.6% 0.209 326.7);
Tailwind
colors: {
  custom: {
    50: '#c371c2',
    500: '#a42aa8',
    950: '#000000',
  },
}
SCSS
$custom: #a42aa8;
$custom-light: #c371c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42aa8",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 298.095,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.2092,
    "h": 326.7
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#A42AA8
secondary
#6EC36B
accent
#E3454A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A42AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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