#A42B96#A42B96

#A42B96 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.194 H 333.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A42B96
RGBrgb(164, 43, 150)
HSLhsl(307, 58%, 41%)
HSVhsv(307, 74%, 64%)
CMYKcmyk(0%, 73.8%, 8.5%, 35.7%)
CIE-LABlab(40.94, 60.08, -31.96)
CIE-LCHlch(40.94, 68.06, 331.99°)
OKLaboklab(51.65% 0.1735 -0.0877)
OKLCHoklch(51.65% 0.194 333.2)
XYZxyz(21.6789, 11.8241, 29.9888)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B96 #2BA439
analogous
#752BA4 #A42B96 #A42B59
triadic
#A42B96 #96A42B #2B96A4
tetradic
#A42B96 #A4752B #2BA439 #2B59A4
square
#A42B96 #A4752B #2BA439 #2B59A4
split-complementary
#A42B96 #59A42B #2BA475
monochromatic
#43123D #741E6A #A42B96 #CD3FBC #D970CD

Accessibility & contrast

On white

6.24
#A42B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A42B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B96
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B96#FFFFFF#000000##FFFFFF
##A42B961.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AB375E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42b96;
/* rgb */ color: rgb(164, 43, 150);
/* oklch */ color: oklch(51.7% 0.194 333.2);
Tailwind
colors: {
  custom: {
    50: '#c371b5',
    500: '#a42b96',
    950: '#000000',
  },
}
SCSS
$custom: #a42b96;
$custom-light: #c371b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b96",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 306.942,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51651,
    "c": 0.19443,
    "h": 333.2
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#A42B96
secondary
#6AC174
accent
#E25846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B96

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

Preview Lab → · Contrast checker → · Palette generator →

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