#A42498#A42498

#A42498 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.203 H 332.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A42498
RGBrgb(164, 36, 152)
HSLhsl(306, 64%, 39%)
HSVhsv(306, 78%, 64%)
CMYKcmyk(0%, 78%, 7.3%, 35.7%)
CIE-LABlab(40.28, 62.56, -34.20)
CIE-LCHlch(40.28, 71.30, 331.34°)
OKLaboklab(51.22% 0.18 -0.0941)
OKLCHoklch(51.22% 0.203 332.4)
XYZxyz(21.6083, 11.4231, 30.7665)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42498 #24A430
analogous
#7024A4 #A42498 #A42458
triadic
#A42498 #98A424 #2498A4
tetradic
#A42498 #A47024 #24A430 #2458A4
square
#A42498 #A47024 #24A430 #2458A4
split-complementary
#A42498 #58A424 #24A470
monochromatic
#400E3B #721969 #A42498 #D233C3 #DD65D2

Accessibility & contrast

On white

6.39
#A42498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A42498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42498
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42498#FFFFFF#000000##FFFFFF
##A424981.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#AB335D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42498;
/* rgb */ color: rgb(164, 36, 152);
/* oklch */ color: oklch(51.2% 0.203 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36eb7',
    500: '#a42498',
    950: '#000000',
  },
}
SCSS
$custom: #a42498;
$custom-light: #c36eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42498",
  "rgb": {
    "r": 164,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 305.625,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51218,
    "c": 0.20307,
    "h": 332.4
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#A42498
secondary
#61C36A
accent
#E75041
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42498

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

Preview Lab → · Contrast checker → · Palette generator →

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