#A42098#A42098

#A42098 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.207 H 332.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A42098
RGBrgb(164, 32, 152)
HSLhsl(305, 67%, 38%)
HSVhsv(305, 80%, 64%)
CMYKcmyk(0%, 80.5%, 7.3%, 35.7%)
CIE-LABlab(39.91, 63.65, -34.80)
CIE-LCHlch(39.91, 72.54, 331.33°)
OKLaboklab(50.95% 0.1831 -0.0958)
OKLCHoklch(50.95% 0.207 332.4)
XYZxyz(21.4939, 11.1944, 30.7284)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42098 #20A42C
analogous
#6E20A4 #A42098 #A42056
triadic
#A42098 #98A420 #2098A4
tetradic
#A42098 #A46E20 #20A42C #2056A4
square
#A42098 #A46E20 #20A42C #2056A4
split-complementary
#A42098 #56A420 #20A46E
monochromatic
#3E0C39 #711669 #A42098 #D62BC6 #E05FD4

Accessibility & contrast

On white

6.48
#A42098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42098
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42098#FFFFFF#000000##FFFFFF
##A420981.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#4F6495
Tritanopia (blue-blind)
#AB315C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42098;
/* rgb */ color: rgb(164, 32, 152);
/* oklch */ color: oklch(50.9% 0.207 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36db7',
    500: '#a42098',
    950: '#000000',
  },
}
SCSS
$custom: #a42098;
$custom-light: #c36db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42098",
  "rgb": {
    "r": 164,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 305.455,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.20668,
    "h": 332.4
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#A42098
secondary
#5CC465
accent
#EA4D3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42098

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

Preview Lab → · Contrast checker → · Palette generator →

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