#A42B98#A42B98

#A42B98 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.196 H 332.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A42B98
RGBrgb(164, 43, 152)
HSLhsl(306, 58%, 41%)
HSVhsv(306, 74%, 64%)
CMYKcmyk(0%, 73.8%, 7.3%, 35.7%)
CIE-LABlab(41.04, 60.40, -33.01)
CIE-LCHlch(41.04, 68.83, 331.34°)
OKLaboklab(51.76% 0.1737 -0.0907)
OKLCHoklch(51.76% 0.196 332.4)
XYZxyz(21.8413, 11.8891, 30.8442)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B98 #2BA437
analogous
#732BA4 #A42B98 #A42B5C
triadic
#A42B98 #98A42B #2B98A4
tetradic
#A42B98 #A4732B #2BA437 #2B5CA4
square
#A42B98 #A4732B #2BA437 #2B5CA4
split-complementary
#A42B98 #5CA42B #2BA473
monochromatic
#43123E #741E6B #A42B98 #CD3FBF #D970CF

Accessibility & contrast

On white

6.22
#A42B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A42B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B98
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B98#FFFFFF#000000##FFFFFF
##A42B981.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#AB385F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42b98;
/* rgb */ color: rgb(164, 43, 152);
/* oklch */ color: oklch(51.8% 0.196 332.4);
Tailwind
colors: {
  custom: {
    50: '#c371b7',
    500: '#a42b98',
    950: '#000000',
  },
}
SCSS
$custom: #a42b98;
$custom-light: #c371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b98",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 305.95,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.19591,
    "h": 332.4
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#A42B98
secondary
#6AC173
accent
#E25646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B98

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

Preview Lab → · Contrast checker → · Palette generator →

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