#A42398#A42398

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

Color values

HEX#A42398
RGBrgb(164, 35, 152)
HSLhsl(306, 65%, 39%)
HSVhsv(306, 79%, 64%)
CMYKcmyk(0%, 78.7%, 7.3%, 35.7%)
CIE-LABlab(40.19, 62.84, -34.35)
CIE-LCHlch(40.19, 71.62, 331.34°)
OKLaboklab(51.15% 0.1808 -0.0945)
OKLCHoklch(51.15% 0.204 332.4)
XYZxyz(21.5785, 11.3634, 30.7566)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42398 #23A42F
analogous
#7023A4 #A42398 #A42358
triadic
#A42398 #98A423 #2398A4
tetradic
#A42398 #A47023 #23A42F #2358A4
square
#A42398 #A47023 #23A42F #2358A4
split-complementary
#A42398 #58A423 #23A470
monochromatic
#3F0D3B #721869 #A42398 #D331C4 #DE64D2

Accessibility & contrast

On white

6.42
#A42398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A42398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42398
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42398#FFFFFF#000000##FFFFFF
##A423981.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42398;
/* rgb */ color: rgb(164, 35, 152);
/* oklch */ color: oklch(51.1% 0.204 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36eb7',
    500: '#a42398',
    950: '#000000',
  },
}
SCSS
$custom: #a42398;
$custom-light: #c36eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42398",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 305.581,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.204,
    "h": 332.4
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#A42398
secondary
#60C369
accent
#E85040
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42398

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

Preview Lab → · Contrast checker → · Palette generator →

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