#A42698#A42698

#A42698 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.201 H 332.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A42698
RGBrgb(164, 38, 152)
HSLhsl(306, 62%, 40%)
HSVhsv(306, 77%, 64%)
CMYKcmyk(0%, 76.8%, 7.3%, 35.7%)
CIE-LABlab(40.49, 61.97, -33.88)
CIE-LCHlch(40.49, 70.63, 331.34°)
OKLaboklab(51.36% 0.1783 -0.0932)
OKLCHoklch(51.36% 0.201 332.4)
XYZxyz(21.6705, 11.5476, 30.7872)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42698 #26A432
analogous
#7126A4 #A42698 #A42659
triadic
#A42698 #98A426 #2698A4
tetradic
#A42698 #A47126 #26A432 #2659A4
square
#A42698 #A47126 #26A432 #2659A4
split-complementary
#A42698 #59A426 #26A471
monochromatic
#410F3C #721A6A #A42698 #D137C2 #DC68D1

Accessibility & contrast

On white

6.35
#A42698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A42698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42698
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42698#FFFFFF#000000##FFFFFF
##A426981.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AB355D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42698;
/* rgb */ color: rgb(164, 38, 152);
/* oklch */ color: oklch(51.4% 0.201 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36fb7',
    500: '#a42698',
    950: '#000000',
  },
}
SCSS
$custom: #a42698;
$custom-light: #c36fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42698",
  "rgb": {
    "r": 164,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 305.714,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.20113,
    "h": 332.4
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#A42698
secondary
#64C26D
accent
#E55242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42698

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

Preview Lab → · Contrast checker → · Palette generator →

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