#A42998#A42998

#A42998 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.198 H 332.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A42998
RGBrgb(164, 41, 152)
HSLhsl(306, 60%, 40%)
HSVhsv(306, 75%, 64%)
CMYKcmyk(0%, 75%, 7.3%, 35.7%)
CIE-LABlab(40.81, 61.05, -33.37)
CIE-LCHlch(40.81, 69.57, 331.34°)
OKLaboklab(51.6% 0.1756 -0.0917)
OKLCHoklch(51.6% 0.198 332.4)
XYZxyz(21.7704, 11.7472, 30.8205)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42998 #29A435
analogous
#7329A4 #A42998 #A4295A
triadic
#A42998 #98A429 #2998A4
tetradic
#A42998 #A47329 #29A435 #295AA4
square
#A42998 #A47329 #29A435 #295AA4
split-complementary
#A42998 #5AA429 #29A473
monochromatic
#42113D #731D6B #A42998 #CE3CC0 #DA6DD0

Accessibility & contrast

On white

6.27
#A42998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A42998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42998
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42998#FFFFFF#000000##FFFFFF
##A429981.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#AB375E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42998;
/* rgb */ color: rgb(164, 41, 152);
/* oklch */ color: oklch(51.6% 0.198 332.4);
Tailwind
colors: {
  custom: {
    50: '#c370b7',
    500: '#a42998',
    950: '#000000',
  },
}
SCSS
$custom: #a42998;
$custom-light: #c370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42998",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 305.854,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51596,
    "c": 0.19807,
    "h": 332.4
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#A42998
secondary
#68C170
accent
#E35445
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42998

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

Preview Lab → · Contrast checker → · Palette generator →

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