#A42898#A42898

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

Color values

HEX#A42898
RGBrgb(164, 40, 152)
HSLhsl(306, 61%, 40%)
HSVhsv(306, 76%, 64%)
CMYKcmyk(0%, 75.6%, 7.3%, 35.7%)
CIE-LABlab(40.70, 61.36, -33.54)
CIE-LCHlch(40.70, 69.93, 331.34°)
OKLaboklab(51.52% 0.1765 -0.0922)
OKLCHoklch(51.52% 0.199 332.4)
XYZxyz(21.7362, 11.6789, 30.8091)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42898 #28A434
analogous
#7228A4 #A42898 #A4285A
triadic
#A42898 #98A428 #2898A4
tetradic
#A42898 #A47228 #28A434 #285AA4
square
#A42898 #A47228 #28A434 #285AA4
split-complementary
#A42898 #5AA428 #28A472
monochromatic
#42103D #731C6A #A42898 #CF3AC1 #DB6BD0

Accessibility & contrast

On white

6.30
#A42898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A42898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42898
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42898#FFFFFF#000000##FFFFFF
##A428981.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AB365E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42898;
/* rgb */ color: rgb(164, 40, 152);
/* oklch */ color: oklch(51.5% 0.199 332.4);
Tailwind
colors: {
  custom: {
    50: '#c370b7',
    500: '#a42898',
    950: '#000000',
  },
}
SCSS
$custom: #a42898;
$custom-light: #c370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42898",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 305.806,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.19911,
    "h": 332.4
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#A42898
secondary
#66C16F
accent
#E45344
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42898

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

Preview Lab → · Contrast checker → · Palette generator →

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